另一个PGS4A构建错误

时间:2015-01-24 08:37:17

标签: android python pygame

首先我要说的是我正在使用PGS4A-0.9.6,我安装了android-8 SDK,而且我使用的是ubuntu 14.10。 我非常无辜地按照说明建立了一个带有PGS4A的APK,当时我没有遇到这个令人讨厌的错误:

Resolved location of library project to: /home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library
Error: Project folder '/home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library' is not a valid directory.
Error: No Android Manifest at: /home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library

我不确定这是什么意思。有人可以帮帮我吗?

这是我的终端输出:

Updating source code.


Updating build files.

Resolved location of library project to: /home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library
Error: Project folder '/home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library' is not a valid directory.
Error: No Android Manifest at: /home/kleber/Desktop/pgs4a-0.9.6/android-sdk/extras/google/play_apk_expansion/downloader_library

Creating assets directory.


Packaging internal data.

Listing private ...
Listing private/include ...
Listing private/include/python2.7 ...
Listing private/lib ...
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 flippyfone ...
Compiling flippyfone/flippyfone.py ...

I'm using Ant to build the package.

Buildfile: build.xml does not exist!
Build failed

The build seems to have failed.

1 个答案:

答案 0 :(得分:1)

我一直在处理build.xml错误,这是你原因的主要根源,我跟着本教程中的步骤im链接,它似乎解决了问题。如果完成这些步骤后仍然出现错误,请再次运行cmd android installsdk然后尝试构建程序。

https://sites.google.com/site/dustinprinehart/current-projects/float-i-pop/proof-of-concept