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 modules are unusable #6590
Comments
I made and tested several modules for android personally, but I have not faced this. |
Tried this on another phone, same exception. I've tried compiling on Linux, so far same results, but haven't tested everything just yet. I guess it would be helpful if someone tried to compile (and run the test project) in that android_module_test branch on their side. |
Just noticed, resulting android_debug.apk size is 617 Kb with a custom android module (13,2 Mb without). Seems like something is going wrong during the compilation, but there are no errors, even after cleaning the whole repository with |
looks like it's not including the .so with the engine. Can you unzip the On 28 September 2016 at 14:12, Karol Walasek notifications@github.com
|
I've switched to |
@WalasPrime from your last message I'm assuming everything is fine with this issue at this point, so I will close it, please let us know if there are still any issues and I will reopen it :) |
@WalasPrime so any more info on this? do we just build platform tools for android both debug and release by passing target=release? |
I no longer have an android dev setup so I can't check the current branches. Keep in mind this case is specific to using custom modules. I believe the buildsystem changed quite a lot since then, this issue might not be valid anymore. If you happen to stumble upon this bug please create a new issue, or if you can confirm that this no longer applies please leave a proper comment. |
@WalasPrime building with target=release still builds fake/buggy debug release .apk |
Windows 10, current master
I've tried to test an Ad module for Godot, but I've ran into issues where the app crashes (on a physical device). I thought it's the module's fault, so I've created my own minimalistic android module for testing. Throws the same error in
adb logcat
:I've checked the godot_android file existance. It's path is "\platform\android\java\libs\release\armeabi-v7a\libgodot_android.so". Compiling fresh apk's and exe's from current master do not cause a crash (often the screen blinks, godot restarts 10 times/sec, but that's another issue I guess 😄 ).
You can lookup the module here (2 newest commits): https://github.com/WalasPrime/godot/commits/android_module_test
The text was updated successfully, but these errors were encountered: