编译钛模块应用程序时出现“错误:无法找到符号”

时间:2012-12-13 07:42:48

标签: javascript titanium-mobile titanium-modules

我已经创建了一个钛模块并将其嵌入到钛模块应用程序中,但每次编译该应用程序时都会给我一个错误:

[INFO] Compiling Javascript Resources ...
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] Error(s) compiling generated Java code
[ERROR] C:\DeveloperFolder\TitaniumStudioWorkspace\TestingModuleApp\build\android\gen\testing\module\app\TestingmoduleappApplication.java:42: cannot find symbol
symbol  : class TestingmoduleBootstrap
location: package testing.module
        runtime.addExternalModule("testing.module", testing.module.TestingmoduleBootstrap.class);
                                                                  ^
1 error

有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

尝试删除TestingmoduleBootstrap.class,然后重新编译:

http://www.coderanch.com/t/402221/java/java/Compiler-Error-find-symbol

并确保您的班级名称中没有拼写错误:

http://java.about.com/od/cerrmsg/g/Definition-Cannot-Find-Symbol.htm