【问题标题】:Ionic build android failed - Could not resolve all dependencies for configuration ':_debugCompile'Ionic build android 失败 - 无法解析配置“:_debugCompile”的所有依赖项
【发布时间】:2023-03-19 23:02:01
【问题描述】:

我已将 phonegap-plugin-push (http://docs.ionic.io/docs/push-from-scratch) 添加到我的项目中,然后在我构建/运行它之后,出现了错误。

我尝试了很多方法 (https://github.com/driftyco/ionic-service-push-client/issues/22) (SDK Manager unable to fetch content - Connection to https://dl-ssl.google.com refused),但没有什么能帮助我。

在我添加这个插件之前,我的项目很好。

【问题讨论】:

  • 您是否尝试过错误提示的内容?
  • 是的,但它得到了同样的错误。

标签: sdk push-notification ionic phonegap-pushplugin


【解决方案1】:

您可以在 yourApp\platforms\android 上设置文件 project.properties

您可以将cordova.system.library.1=com.android.support:support-v13:23+ 编辑为您的支持版本

【讨论】:

    猜你喜欢
    • 2021-05-02
    • 1970-01-01
    • 2015-12-18
    • 1970-01-01
    • 2016-01-24
    • 2016-09-19
    • 2022-08-17
    • 2018-11-28
    • 2014-10-04
    相关资源
    最近更新 更多