我正在尝试将Python脚本转换为在Android环境中使用。我不是一名Java程序员,但希望能够抓住这一点。
这是我看到的输出。获取有关Android 8的错误,但不确定是否相关。
我在pgs4a / buildlib中看到build.xml ...
jake@jake-purple ~/Python/pgs4a-0.9.4 $ ./android.py build /home/jake/Python/Darts/touchtest release
Updating build files.
Error: Target id 'android-8' is not valid. Use 'android list targets' to get the target ids.
Creating assets directory.
Packaging internal data.
Listing private ...
Listing private/lib ...
Listing private/lib/PIL ...
Listing private/lib/android ...
Compiling private/lib/android/__init__.py ...
Compiling private/lib/android/apk.py ...
Compiling private/lib/android/mixer.py ...
Listing private/lib/encodings ...
Listing private/lib/json ...
Listing private/lib/pygame ...
Listing private/lib/pygame/threads ...
Listing private/lib/sqlite3 ...
Listing engine-private ...
Packaging external data.
Listing /home/jake/Python/Darts/touchtest ...
Compiling /home/jake/Python/Darts/touchtest/touchtest_2.py ...
I'm using Ant to build the package.
Buildfile: build.xml does not exist!
Build failed
The build seems to have failed.