我几乎遵循了 Jetbrains 建议的将 Eclipse 项目导入 IntelliJ 的所有标准步骤,但没有成功。我得到大约 100 个错误,并且都与一些与 Java 相关的导入有关。例如。
Error:(59, 50) java: cannot find symbol
symbol: class Context
location: class com.comprion.android.js.GPSystem
Error:(59, 62) java: cannot find symbol
symbol: class Scriptable
location: class com.comprion.android.js.GPSystem
Error:(76, 82) java: cannot find symbol
symbol: class Scriptable
location: class com.comprion.android.js.GPSystem
Error:(76, 70) java: cannot find symbol
symbol: class Context
location: class com.comprion.android.js.GPSystem
Error:(23, 30) java: package org.mozilla.javascript does not exist
Error:(24, 30) java: package org.mozilla.javascript does not exist
Error:(76, 117) java: cannot find symbol
symbol: class Function
location: class com.comprion.android.js.GPSystem
Error:(28, 31) java: cannot find symbol
symbol: class ScriptableObject
Error:(59, 97) java: cannot find symbol
symbol: class Function
location: class com.comprion.android.js.GPSystem
Error:(25, 30) java: package org.mozilla.javascript does not exist
Error:(26, 30) java: package org.mozilla.javascript does not exist
}
(还有很多)
它知道我可能会遗漏一些简单、小而棘手的东西。我非常感谢 IntelliJ 用户的帮助。
我提前谢谢你。