安装模块后,我按照说明构建了apk文件。
我的应用使用gspread
和oauth2client
。将所有要求放入buildozer.spec
文件中。
我跑步
buildozer android debug deploy run logcat
然后在加载屏幕后应用程序崩溃。
我认为第一件事是找不到libpython3.5m.so
,libpython3.6m.so
,libpython3.7m
。
这是日志文件的链接。
logcat record
这是buildozer规格的链接。 buildozer.spec
答案 0 :(得分:0)
02-11 14:04:06.022 16530 16664 I python : Traceback (most recent call last):
02-11 14:04:06.022 16530 16664 I python : File "/home/kivy/Desktop/avac-app/.buildozer/android/app/main.py", line 11, in <module>
02-11 14:04:06.023 16530 16664 I python : File "/home/kivy/Desktop/avac-app/.buildozer/android/platform/build/build/python-installs/avacremote/oauth2client/service_account.py", line 26, in <module>
02-11 14:04:06.024 16530 16664 I python : File "/home/kivy/Desktop/avac-app/.buildozer/android/platform/build/build/python-installs/avacremote/oauth2client/crypt.py", line 23, in <module>
02-11 14:04:06.025 16530 16664 I python : File "/home/kivy/Desktop/avac-app/.buildozer/android/platform/build/build/python-installs/avacremote/oauth2client/_pure_python_crypt.py", line 22, in <module>
02-11 14:04:06.026 16530 16664 I python : ImportError: No module named pyasn1.codec.der
^^这是logcat中的实际错误。也许您需要将pyasn1添加到您的需求中。