[英]Andoid Ionic cordova @ionic-native/camera error doesnt fix
[英]Error while using GooglePlus ionic-native
我正在嘗試使用Google Plus - Ionic-native
。 我已經做了所有類似添加插件+ ionic-native + reverseClientId的事情。
但是當我嘗試使用ionic cordova build android --prod
來構建apk
時,出現錯誤:
找不到play-services-auth.aar(com.google.android.gms:play-services-auth:11.8.0)
對於config.xml
android平台:您需要添加反向客戶端ID和Web應用程序ID,如下所示:
<plugin name="cordova-plugin-googleplus" spec="^5.2.1">
<variable name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.588101161325-dsfgdfgergregergergg4ha72kbfn1l0" />
<variable name="WEB_APPLICATION_CLIENT_ID" value="588101161325-f3p5ufdgsdfgsdfgsdfgdfgsdfgdfgfgg.apps.googleusercontent.com" />
</plugin>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.