Crosswalk cordova迁移:CordovaApp.java:33:错误:找不到符号loadUrl(launchUrl)

时间:2014-12-09 17:27:12

标签: android cordova crosswalk-runtime

我在教学中做得非常出色:https://crosswalk-project.org/documentation/cordova/migrate_an_application.html

成功构建xwalk_core_library和CordovaLib

之后

我正在运行cordova build android并面临错误:

[javac] Compiling 8 source files to D:\myapp\platforms\android\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] D:\myapp\platforms\android\src\com\in2circle\fellor\CordovaApp.java:33: error: cannot find symbol
[javac]         loadUrl(launchUrl);
[javac]                 ^
[javac]   symbol:   variable launchUrl
[javac]   location: class CordovaApp
[javac] 1 error

Crosswalk v 9.38.208.10。

1 个答案:

答案 0 :(得分:6)

Crosswalk v 9.38.208.10与Cordova 3.5配合使用。。我已经安装了cordova 4。

已更新至Crosswalk v 10.39.235.9并解决了问题。

因此,使用Crosswalk v 10 for Cordova v 4。