-
Notifications
You must be signed in to change notification settings - Fork 505
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
x86 apk support on buildozer #11
Comments
It is not a issue with buildozer, but with the toolchain behind. Python-for-android doesn't support x86 compilation yet, but some users did it. (They didn't provided any contribution yet :() |
I'm having this exact problem on ARMv7, not x86. https://groups.google.com/forum/#!topic/kivy-users/TMbykeomRcw What exactly is causing the problem? Or how to I debug it? I'm willing to provide any information I can...... |
For the googlers out there, the solution was not to use the ARMv7 libraries at all (don't even set them in the buildozer.spec file). If you have both v7 and non-v7 libraries from something you're trying to include in your application, try to include only the non-v7 versions and ensure that there are no libraries included in the armeabi-v7a from .buildozer/platform/python-for-android/dist/myapp/libs/armeabi-v7a. If you have libraries in the v7 directory, the phone will attempt to use them if you actually have a v7 phone. If the folder is empty, the phone will try to use the non-v7 version, which is where the sdl libraries (among others) are actually located. |
I created an APK using python-for-android and tried running it on an x86 emulator.
It crashed with the following error:
Talking on the IRC channel, it seems the APK wasn't supposed to have code for x86 devices. As these devices will (probably) become more common, supporting them could be very helpful.
The text was updated successfully, but these errors were encountered: