【发布时间】:2018-12-22 20:26:38
【问题描述】:
我正在运行“Ionic build android”命令并出现以下错误。
cordova-android-support-gradle-release.after-prepare:将自定义版本 '27.+' 写入 C:\Welfare_Research_2009\Development\EC\Main\LmpIonic\platforms\android\build.gradle
cordova-android-support-gradle-release.before-prepare:编写自定义版本 '27.+' 到
C:\Welfare_Research_2009\Development\EC\Main\LmpIonic\platforms\android\cordova-android-support-gradle-release\properties.gradle
Discovered plugin “call-number” in config.xml. Adding it to the project
Failed to restore plugin “call-number” from config.xml. You might need to try adding it again. Error: SyntaxError: Unexpected token in JSON at position 0
(node:20228) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token in JSON at position 0
My Ionic Info is as below
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
我试图从 config.xml 中删除插件,但没有成功。
如果有更多关于此的想法/建议,我们将不胜感激。
【问题讨论】: