Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android / Xamarin Platform Support #87

Closed
ejamshidiasl opened this issue Jul 20, 2021 · 12 comments
Closed

Android / Xamarin Platform Support #87

ejamshidiasl opened this issue Jul 20, 2021 · 12 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ejamshidiasl
Copy link

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

@9ParsonsB 9ParsonsB changed the title is there any way to use with xamarin? (run on android) Android / Xamarin Platform Support Oct 24, 2021
@9ParsonsB
Copy link
Collaborator

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

@EralpCelebi
Copy link

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

@chrisdill chrisdill added this to the 4.2 milestone Jun 27, 2022
@chrisdill chrisdill added the help wanted Extra attention is needed label Jun 27, 2022
@anggape
Copy link
Contributor

anggape commented Aug 9, 2022

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

@lorenzo774
Copy link

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

@anggape
Copy link
Contributor

anggape commented Oct 14, 2022

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

everything is here

@anggape
Copy link
Contributor

anggape commented Oct 14, 2022

also you need to instal android workload documented here

@chrisdill chrisdill added the enhancement New feature or request label Nov 24, 2022
@chrisdill chrisdill pinned this issue Nov 24, 2022
@chrisdill chrisdill unpinned this issue Feb 17, 2023
@Starpelly
Copy link

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

@anggape
Copy link
Contributor

anggape commented Jul 22, 2023

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

@sdb7
Copy link

sdb7 commented Aug 27, 2023

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.

@9ParsonsB 9ParsonsB pinned this issue Aug 27, 2023
@anggape
Copy link
Contributor

anggape commented Aug 27, 2023

@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

@chrisdill
Copy link
Owner

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.

@chrisdill
Copy link
Owner

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

@chrisdill chrisdill unpinned this issue Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants