Raylib-cs icon indicating copy to clipboard operation
Raylib-cs copied to clipboard

Android / Xamarin Platform Support

Open ejamshidiasl opened this issue 4 years ago • 11 comments

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

ejamshidiasl avatar Jul 20 '21 12:07 ejamshidiasl

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

9ParsonsB avatar Oct 24 '21 10:10 9ParsonsB

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 :)

EralpCelebi avatar Apr 14 '22 17:04 EralpCelebi

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 avatar Aug 09 '22 08:08 anggape

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

lorenzo774 avatar Oct 12 '22 07:10 lorenzo774

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

everything is here

anggape avatar Oct 14 '22 12:10 anggape

also you need to instal android workload documented here

anggape avatar Oct 14 '22 12:10 anggape

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

Starpelly avatar Feb 24 '23 10:02 Starpelly

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

anggape avatar Jul 22 '23 11:07 anggape

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.

sdb7 avatar Aug 27 '23 05:08 sdb7

@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

anggape avatar Aug 27 '23 06:08 anggape

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.

rgebee avatar Sep 05 '23 06:09 rgebee

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

rgebee avatar Mar 13 '24 18:03 rgebee