【发布时间】:2019-04-18 17:18:59
【问题描述】:
当我运行命令“ionic cordova build android”时,出现如下错误:
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> No matching client found for package name 'ammar_5d767'
我已经尝试了this 步骤,但仍然无法正常工作。 这是我的 config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="ammar-5d767" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Doc.in</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html" />
<access origin="*" />
<platform name="android">
<resource-file src="google-services.json" target="app/google-services.json" />
.
.
.
<allow-intent href="market:*" />
.
.
.
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
.
.
.
</platform>
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^3.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<plugin name="cordova-plugin-firebase" spec="2.0.5" />
<engine name="android" spec="7.1.4" />
</widget>
我找到了一些解决方案,但仍然无法正常工作。
【问题讨论】:
标签: firebase ionic-framework google-cloud-firestore google-play-services