【问题标题】:Unable to create build ionic3 using command ionic build android无法使用命令 ionic build android 创建构建 ionic3
【发布时间】:2018-06-23 06:49:59
【问题描述】:

我为JAVA_HOME 设置了一个环境路径并遵循 android studio Error:Unable to start the daemon process.

我仍然收到错误,无法创建构建。我正在使用最新版本的 node、npm、ionic。

错误:

JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_11
studio
Subproject Path: CordovaLib
Subproject Path: app
[12:02:18]  lint finished in 9.73 s
[Fatal Error] gradle-bintray-plugin-1.7.3.pom:2:1: Content is not allowed
log.

[Fatal Error] android-maven-gradle-plugin-1.5.pom:2:1: Content is not all
 prolog.


FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> Could not resolve all files for configuration ':CordovaLib:classpath'.

【问题讨论】:

    标签: android cordova ionic3


    【解决方案1】:

    你升级你的科尔多瓦了吗?更新后可能会运行。或者您可以删除nodemodule 文件夹,然后执行npm install,然后尝试构建您的应用程序。

    【讨论】:

    • 感谢您的回答。是的,我正在使用更新版本的 cordova、node、npm 和 ionic。并且还重新安装了 npm 和平台,但对我不起作用。
    • @PoojaPradhan,问题已经在这里(github.com/ionic-team/ionic-cli/issues/3056)我通过删除所有平台(android 和 ios)然后再次添加它来解决这个问题。并构建项目
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-01
    • 1970-01-01
    • 2018-05-20
    • 2021-06-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多