我正在使用ionic3构建生产应用程序。当我构建ios时,一切都很好。但我使用命令
构建了androidionic cordova build android --prod --release
有一个错误:
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApkCopy'.
> Could not find any version that matches com.google.gms:google-services:11+.
Versions that do not match:
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
+ 42 more
Required by:
project :
我的离子信息是:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.0.1
Cordova Platforms : android 6.3.0 ios 4.5.4
Ionic Framework : ionic-angular 3.8.0
System:
ios-deploy : 1.9.2
Node : v7.10.0
npm : 5.5.1
OS : macOS Sierra
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : legacy
之前是否有人面对或知道如何解决?非常感谢
答案 0 :(得分:0)