找不到与包名称“ io.ionic.starter”匹配的客户端

时间:2019-05-12 22:08:29

标签: cordova angularfire ionic4

我正在尝试在智能手机上模拟应用程序,但是当我尝试运行ionic cordova run android时遇到了错误

 FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> No matching client found for package name 'io.ionic.starter'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
[ERROR] An error occurred while running subprocess cordova.

        cordova run android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

我一直在尝试很多事情,但是有人工作过

1 个答案:

答案 0 :(得分:0)

好像您正在使用某些Google产品,怀疑其ID与您的应用ID不同的Google服务,反之亦然。

还要检查Google的文件路径。...它应位于该应用程序的src文件夹下

请检查这种情况,然后尝试在两者中使用相同的ID导入。