[英]ionic 3 android production build issue
我正在使用ionic3構建用於生產的應用程序。 當我構建ios時,一切都很好。 但是我用命令構建了android
ionic 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
有沒有人遇到過或知道如何解決? 非常感謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.