chrisdill / raylib-cs

C# bindings for raylib, a simple and easy-to-use library to learn videogames programming

Home Page:http://www.raylib.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android / Xamarin Platform Support

ejamshidiasl opened this issue · comments

is there any way to use with xamarin? (run on android)

Hi,

What have you tried? What roadblocks are you hitting? We would love to support Android/Xamarin however we are not familiar with the Xamarin/Android C# build process, particularly with native libraries.

If you could point us in the direction of some good documentation, that would be greatly appreciated

Definitely not qualified for this but this might be useful.

I personally don't think Xamarin is the right way to go with this, you might have better luck porting your code over to C++ if the challenge is not too great :)

commented

i already made raylib-cs run on android on this repo
but i think we need a custom build of raylib, because of this line on raylib source

@anggape Hi, can you write a guide on how to set up raylib-cs to run on Android?

commented

@anggape Hi, can you write a guide on how to set up raylib-cs to run on Android?

everything is here

commented

also you need to instal android workload documented here

@anggape Your repositories don't exist anymore, can you repost them?

commented

sorry for slow response, i think i accidentally deleted the previous implementation while ago, but i reimplement it again here https://github.com/anggape/Raylib-cs/tree/android

Hi, i am trying to use raylib-cs.Android by project files and by assembly still unable to run it because of this unhandled exception

image

is there any step i am missing or dll that need to be include?

my current project setup is android app using net core 6 and 7 via visual studio project template.

commented

@sdb7 if you use Raylib-cs.Native from master branch it does not include android native libraries until #186 finished, you need to manualy download Raylib-cs.Native.[SOME_VERSION].nupkg from github artifacts, use https://github.com/anggape/raylib-cs-samples if you want to try, and please give feedback since its an experimental

Decided to change Raylib-cs.Android to Examples.Android. Easier to maintain as an example rather than a package. @anggape Could use help getting it to work the same as your samples project.

Closing in favour of using #144 to track platform support instead.