我正在使用Buildozer,这对我来说应该是一个.apk而没有太多的复杂情况。
我使用this library编写了一个python脚本。换句话说,我写的python代码与Android没有任何关系,但我想在Android上使用它作为后端/库。我写的python代码在我的笔记本电脑上运行得非常好。
Buildozer设法生成.apk文件,但在Ubuntu上执行此命令时:
$ ./adb install myPythonScript.apk
我明白了:
myPythonScript.apk: 1 file pushed. 4.1 MB/s (7639867 bytes in 1.766s)
pkg: /data/local/tmp/myPythonScript.apk
Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]
rm failed for -f, No such file or directory
我该怎么做才能解决这个问题?