预期pgs4a错误标识符

时间:2014-08-15 13:52:29

标签: android python compilation

我正在使用pgs4a将我的pygame程序转换为android应用程序。事情似乎进展顺利,但在运行build命令后我遇到了这个问题:

error: <identifier> expected

其次是:

BUILD FAILED
/home/will/pgs4a-0.9.4/android-sdk/tools/ant/build.xml:720: The following error occurred while executing this line:
/home/will/pgs4a-0.9.4/android-sdk/tools/ant/build.xml:734: Compile failed; see the    compiler error output for details.

Total time: 10 seconds

错误似乎来自build.xml文件(我认为):

 [javac] package macwill.maclachlanwill.stairs.;
    [javac]                                           ^
    [javac] /home/will/pgs4a-0.9.4/gen/macwill/maclachlanwill/stairs/R.java:

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

根据您发布的内容,您的套餐末尾会额外加.。此

package macwill.maclachlanwill.stairs.;

应该是

package macwill.maclachlanwill.stairs;