【问题标题】:Execution fail task ':capacitor-cordova-android-plugins:processDebugGoogleServices'. No matching client found for package 'capacitor.android.plugins'执行失败任务':capacitor-cordova-android-plugins:processDebugGoogleServices'。没有为包“capacitor.android.plugins”找到匹配的客户端
【发布时间】:2021-12-27 06:26:43
【问题描述】:

在 studio 中构建应用时出错。enter image description here

【问题讨论】:

    标签: android ionic-framework firebase-realtime-database


    【解决方案1】:

    在 android/app 和 android/capacitor-cordova-android-plugin 中添加 google-services.json 文件

    在 android/capacitor-cordova-android-plugin/menifests/AndroidManifest.xml 和 android/app/build.gradle 中编辑包名称

    包必须与 services.json 文件中的相同。

    注意 - 在 gradle 中你需要更改 applicationId。

    【讨论】:

      猜你喜欢
      • 2016-06-22
      • 2021-06-20
      • 1970-01-01
      • 2016-04-13
      • 2018-11-14
      • 2020-07-06
      • 1970-01-01
      • 1970-01-01
      • 2019-08-05
      相关资源
      最近更新 更多