我正在尝试创建Ionic版本,但出现类似以下错误:
失败:构建失败,并出现异常。
出了什么问题: 任务':app:processDebugGoogleServices'的执行失败。
请通过更新google-services插件的版本(有关最新版本的信息可在https://bintray.com/android/android-tools/com.google.gms.google-services/上)或将com.google.android.gms的版本更新为10+来解决版本冲突。
尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获取更多日志输出。使用--scan运行以获取完整的见解。
34秒内失败 20个可执行的任务:1个已执行,19个最新 / home / user / Documents / project / platforms / android / gradlew:命令失败,退出代码为1错误输出: 失败:构建失败,并出现异常。
出了什么问题: 任务':app:processDebugGoogleServices'的执行失败。
请通过更新google-services插件的版本(有关最新版本的信息可在https://bintray.com/android/android-tools/com.google.gms.google-services/上)或将com.google.android.gms的版本更新为10+来解决版本冲突。
尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获取更多日志输出。使用--scan运行以获取完整的见解。
34秒内失败 [ERROR]运行子进程cordova时发生错误。
cordova build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
我尝试了许多解决方案,但仍无法解决。