Buildozer build fails at NDK build giving SDL_JAVA_PACKAGE_PATH error

僤鯓⒐⒋嵵緔 提交于 2019-12-12 12:22:37

问题


Buildozer (0.34) fails with this error when set up using Kivy's VM (2.0). I was able to replicate it in an unrelated environment (no VM) in Ubuntu 16.04 and the same spec file.

Log output:

[INFO]: STDOUT: /build/app-name/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.

This happened right after it switched to running the NDK build:

Log output:

  RAN: /home/kivy/.buildozer/android/platform/android-ndk-r9c/ndk-build V=1

Does anyone have insight into why this error would appear exactly the same way in both the VM and when I set up the environment on my own? Is it Java-related somehow? I will elaborate with more detail, but I'm not sure what would be the most helpful. I can't find references to this error elsewhere, and I would appreciate any clues at all. This is my first question on SO, but this community has really helped me learn. Thank you.

来源:https://stackoverflow.com/questions/48302431/buildozer-build-fails-at-ndk-build-giving-sdl-java-package-path-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!