-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
building apk using pygame #2333
Comments
Hmm, it worked for me... I didn't specify the version python and it just defaulted to 3.8, like thus: requirements = python3,pygame,hostpython3,numpy,jnius,sdl2,sdl2_image,sdl2_mixer,sdl2_ttf However, I've just noticed that you are trying to get pygame on 'ios'. This is currently impossible as it only works with android, certainly as far as I'm aware :S |
Well, what I've noticed is you have a lot of ios specific things in the list. I set my the following for android specific: (int) Target Android API, should be as high as possible.android.api = 29 (int) Minimum API your APK will support.android.minapi = 21 (int) Android SDK version to useandroid.sdk = 24 (str) Android NDK version to useandroid.ndk = 19b (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.android.ndk_api = 21 |
i have given only |
OK, I'll leave a copy of my buildozer.spec file for your perusal (you can examine for important differentials with your own which might help)
|
okk |
|
when i am running it in android 8 it is running fine but when i am running in android 5.1 it shows error ..shown below (run time ) I/python (16125): Android kivy bootstrap done. name is main ######buildozer setting |
Checklist
p4a.branch = develop
)Versions
Description
when i am launching apk in android 5.1 it crashes
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: