添加crosswalk web插件时,无法在VS2015中获得Cordova项目构建

时间:2016-04-27 14:56:11

标签: cordova cordova-plugins visual-studio-cordova

我正在尝试使用Visual Studio 2015在我的cordova应用程序中添加sqlite插件,但它显示classNotFound错误,所以我添加了Crosswalk WebView Engine插件,但现在我无法构建项目。我删除了crosswalk插件仍然是相同的构建问题。请帮帮我。

  ------ Build configuration options: --debug
1>  Running command: cmd "/s /c "E:\Krishna\MyLimo247\platforms\android\cordova\build.bat --debug --buildConfig=E:\Krishna\MyLimo247\build.json""
1>  ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
1>  JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55
1>  Reading build config file: E:\Krishna\MyLimo247\build.json
1>  E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:126
1>                      throw e;
1>                            ^
1>  SyntaxError: Unexpected token :
1>      at Object.parse (native)
1>      at parseOpts (E:\Krishna\MyLimo247\platforms\android\cordova\lib\build.js:501:27)
1>      at Object.module.exports.run (E:\Krishna\MyLimo247\platforms\android\cordova\lib\build.js:559:16)
1>      at E:\Krishna\MyLimo247\platforms\android\cordova\build:36:22
1>      at _fulfilled (E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:798:54)
1>      at self.promiseDispatch.done (E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:827:30)
1>      at Promise.promise.promiseDispatch (E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:760:13)
1>      at E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:574:44
1>      at flush (E:\Krishna\MyLimo247\platforms\android\cordova\node_modules\q\q.js:108:17)
1>      at process._tickCallback (node.js:355:11)
1>  Command finished with error code 1: cmd /s /c "E:\Krishna\MyLimo247\platforms\android\cordova\build.bat --debug --buildConfig=E:\Krishna\MyLimo247\build.json"
1>MSBUILD : cordova-build error BLD106: Command finished with error code 1: cmd /s /c "E:\Krishna\MyLimo247\platforms\android\cordova\build.bat --debug --buildConfig=E:\Krishna\MyLimo247\build.json" ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
1>  You may not have the required environment or OS to build this project
1>MDAVSCLI : error : cmd: Command failed with exit code 1
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

0 个答案:

没有答案