Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Android support #1

Open
dancodedev opened this issue Mar 18, 2021 · 10 comments
Open

Android support #1

dancodedev opened this issue Mar 18, 2021 · 10 comments

Comments

@dancodedev
Copy link

Hi, thanks for making this library. Is there any possibility to add Android compatibility

Thanks.

@robertcorponoi
Copy link
Owner

Hi @dancodedev thanks for the suggestion,

I can definitely add android build support, I need to add it and thoroughly test it so I would say it can probably be implemented by this coming Saturday.

@dancodedev
Copy link
Author

dancodedev commented Mar 19, 2021

What a great news.

After many hours I managed to run rust in godot, but it was too difficult for my level. I hope this functionality comes soon. Thanks

@robertcorponoi
Copy link
Owner

No problem,

I tried to make it as simple as possible but if you have any suggestions on how to make it even more simple or if some of the documentation could be better please let me know.

@dancodedev
Copy link
Author

@robertcorponoi sorry, I have explained myself wrong. I was referring to using rust without your library. That was what cost me a lot.

@robertcorponoi
Copy link
Owner

Hey sorry about the delay on this, currently working on it but running into issues with testing using an android emulator so I'll keep you updated.

@robertcorponoi
Copy link
Owner

@dancodedev Are you developing on Linux? I'm looking more into Godot Rust and it seems that Android support is only on Linux currently.

@dancodedev
Copy link
Author

@robertcorponoi I am currently programming in windows, But I can use wsl a linux subsystem inside windows without problem.

Thanks a lot.

@robertcorponoi
Copy link
Owner

@dancodedev I'm not sure if you're still around and need this but I've recently been trying to get it working but I'm having a hard time setting up Android Studio to work with wsl2. Is this something you have done already? Are you able to test APKs from wsl2 with Android Studio in Windows?

@dancodedev
Copy link
Author

dancodedev commented Jun 23, 2021

@robertcorponoi

Hi, I have not tried to configure android studio with wsl2 but I can try.

One question, you in linux native can already compile for android?
Is the problem only in windowds wsl?

@robertcorponoi
Copy link
Owner

@dancodedev I'm currently working on a command to add toolchains so you will be able to "technically" compile it for android in Linux. I'm able to generate the APK in Godot but I can't test it in a virtual device because it won't open in VirtualBox. I'll have to get a Linux machine or dual boot to really test it.

robertcorponoi pushed a commit that referenced this issue Aug 22, 2021
Add clarifying notes to README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants