You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then it compiles, but crashes on Android because of the missing pygame (=1.9.4).
When i build it with
requirements = pygame
there is an error
Logs
[INFO]: -> running ndk-build V=1
Exception in thread background thread for pid 29139:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/kivy/.local/lib/python3.5/site-packages/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/home/kivy/.local/lib/python3.5/site-packages/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/kivy/.local/lib/python3.5/site-packages/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
STDOUT:
/home/kivy/Desktop/Test_APP/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/sdl/Android.mk:8: *** Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles". Stop.
STDERR:
[INFO]: STDOUT:
/home/kivy/Desktop/Test_APP/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni/sdl/Android.mk:8: *** Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles". Stop.
[INFO]: STDERR:
[INFO]: COMMAND:
cd /home/kivy/Desktop/Test_APP/.buildozer/android/platform/build/build/bootstrap_builds/sdl2_gradle-python2/jni && /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1
[WARNING]: ERROR: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build failed!
and i dont understand what i have to define here:
Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles". Stop.
Use latest buildozer and python-for-android master, with requirements kivy it works. If pygame doesn't work, report to kivy/python-for-android, not buildozer.
Versions
Description
When i build the apk with
then it compiles, but crashes on Android because of the missing pygame (=1.9.4).
When i build it with
there is an error
Logs
and i dont understand what i have to define here:
buildozer.spec
Command:
Spec file:
Please help :)
Thanks
The text was updated successfully, but these errors were encountered: