Closed xchd closed 9 months ago
👋 @xchd, Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental. We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer. There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe. Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.
Versions
Description
The packaging of the APK using Buildozer is successful, but when running it on an Android device, the following error occurs:
" 02-11 07:22:48.481 4607 4644 I python : File "/root/kivycode/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/airtest/core/android/adb.py", line 8, in <module> 02-11 07:22:48.482 4607 4644 I python : File "/root/kivycode/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/psutil/__init__.py", line 102, in <module> 02-11 07:22:48.482 4607 4644 I python : File "/root/kivycode/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/psutil/_pslinux.py", line 25, in <module> 02-11 07:22:48.482 4607 4644 I python : ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/_python_bundle/site-packages/psutil/_psutil_linux.abi3.so" has unexpected e_machine: 62 02-11 07:22:48.482 4607 4644 I python : Python for android ended".
It seems that psutil cannot be built correctly.I hope the app can run properly.buildozer.spec
Command:
Spec file:
Logs