我正在使用pgs4a构建pygame apk。当我跑步
android.py build mygame release
这就是我得到的:
Updating build files.
Updated project.properties
Updated local.properties
Added file F:\pgs4a-master\build.xml
Updated file F:\pgs4a-master\proguard-project.txt
Creating assets directory.
Packaging internal data.
Listing private ...
Listing private\include ...
Listing private\include\python2.7 ...
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\python2.7 ...
Listing private\lib\python2.7\bsddb ...
Listing private\lib\python2.7\compiler ...
Listing private\lib\python2.7\config ...
Listing private\lib\python2.7\distutils ...
Listing private\lib\python2.7\distutils\command ...
Listing private\lib\python2.7\email ...
Listing private\lib\python2.7\email\mime ...
Listing private\lib\python2.7\encodings ...
Listing private\lib\python2.7\hotshot ...
Listing private\lib\python2.7\importlib ...
Listing private\lib\python2.7\json ...
Listing private\lib\python2.7\lib-dynload ...
Listing private\lib\python2.7\logging ...
Listing private\lib\python2.7\multiprocessing ...
Listing private\lib\python2.7\multiprocessing\dummy ...
Listing private\lib\python2.7\plat-linux3 ...
Listing private\lib\python2.7\pydoc_data ...
Listing private\lib\python2.7\site-packages ...
Listing private\lib\python2.7\site-packages\android ...
Listing private\lib\python2.7\site-packages\jnius ...
Listing private\lib\python2.7\site-packages\pygame ...
Listing private\lib\python2.7\site-packages\pygame\threads ...
Listing private\lib\python2.7\sqlite3 ...
Listing private\lib\python2.7\sqlite3\test ...
Listing private\lib\python2.7\unittest ...
Listing private\lib\python2.7\wsgiref ...
Listing private\lib\python2.7\xml ...
Listing private\lib\python2.7\xml\dom ...
Listing private\lib\python2.7\xml\etree ...
Listing private\lib\python2.7\xml\parsers ...
Listing private\lib\python2.7\xml\sax ...
Listing private\lib\sqlite3 ...
Listing mygame ...
Compiling mygame\rotating_cube.py ...
I'm using Ant to build the package.
Buildfile: F:\pgs4a-master\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 24.0.2
[checkenv] Installed at F:\pgs4a-master\android-sdk
-setup:
[echo] Project Name: MYCUbe-1.0
[gettype] Project Type: Application
-pre-clean:
clean:
BUILD FAILED
F:\pgs4a-master\android-sdk\tools\ant\build.xml:459: ../../google-play-services_lib resolve to a path with no project.properties file for project F:\pgs4a-master
Total time: 3 seconds
尽管我已经搜索并尝试了足够的方法来纠正它,但我没有这样做。其他来源似乎令人困惑,因为它们似乎与其他东西有关(我正在使用pgs4a)。我正在Windows10上工作。实际上,我对project.properties
文件(此名称的文件很多)感到困惑,我应该编辑哪个文件,并在该文件中指定哪个路径(在各种来源中引用,这似乎很令人困惑)。我尝试了许多解决方案,但感到困惑。一个很好的解释将不胜感激。这是最后的步骤之一(在此路径中也解决了许多其他问题),所以我只想完成它。提前非常感谢。