应为pgs4a错误标识符

2024-10-04 03:26:21 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用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

这个错误似乎来自生成.xml文件(我认为):

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

我该如何着手解决这个问题?你知道吗


Tags: buildhomesdkerrorxmltoolspygamewill