鍍金池/ 問答/物聯(lián)網(wǎng)  HTML/ cordova打包vue項(xiàng)目

cordova打包vue項(xiàng)目

安裝步驟執(zhí)行到cordova build android時(shí)報(bào)錯(cuò);
FAILURE: Build failed with an exception.

  • Where:

Build file 'D:workcordovacordovaAppplatformsandroidCordovaLibbuild.gradle' line: 40

  • What went wrong:

A problem occurred evaluating project ':CordovaLib'.

Failed to apply plugin [id 'com.android.library']
Illegal char <:> at index 89: C:UsersthinkDownloadsandroid-sdk_r24.4.1-windowsandroid-sdk-windowsplatform-tools;C:UsersthinkDownloadsandroid-sdk_r24.4.1-windowsandroid-sdk-windowstoolsanalytics.settings
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 3s
(node:4584) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • Where:

Build file 'D:workcordovacordovaAppplatformsandroidCordovaLibbuild.gradle' line: 40

  • What went wrong:

A problem occurred evaluating project ':CordovaLib'.

Failed to apply plugin [id 'com.android.library']
Illegal char <:> at index 89: C:UsersthinkDownloadsandroid-sdk_r24.4.1-windowsandroid-sdk-windowsplatform-tools;C:UsersthinkDownloadsandroid-sdk_r24.4.1-windowsandroid-sdk-windowstoolsanalytics.settings
  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 3s
(node:4584) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

回答
編輯回答
懶豬

你好,這問題解決了嗎?

2018年9月18日 18:07