Yes this worked for me too - thanks!
If I may, downgrading is not a solution, it’s a workaround
Keep an eye on it
When you said that a lot of downloads were made when you build you project, by any chance do you have installed the plugin
cordova-android-support-gradle-release? I was reading about a similar problem reported with version 1.9.1 of the facebook4 plugin and someone suggests to install the gradle-release plugin: https://stackoverflow.com/questions/44235605/cordova-manifest-merger-failed/44311407#44311407
No I didn’t (just double checked and searched all references of
cordova-android-support-gradle-release, just find some in a README of another plugin, nothing more)
Just in case my Ionic Info. Also I have the last version of Android Studio 3.0 installed
Also note, I still have
cordova-plugin-compat in my references (it look like some of the unexpected download mentioned above contains the name compat)
cli packages: ()
@ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0
cordova (Cordova CLI) : 7.1.0 Gulp CLI : CLI version 3.9.1 Local version 3.9.1
@ionic/app-scripts : 3.1.4 Cordova Platforms : android 6.4.0 ios 4.5.4 Ionic Framework : ionic-angular 3.9.2
Android SDK Tools : 26.1.1 ios-deploy : 1.9.2 ios-sim : 5.0.13 Node : v8.8.1 npm : 5.5.1 OS : macOS Sierra Xcode : Xcode 9.1 Build version 9B55
ANDROID_HOME : /Users/me/Library/Android/sdk
backend : pro
Gracias… funciono correctamente
thanks it worked for me tooo
You can get it working by changing following things without rolling back to previous version (ionic and cordova users only)
in plugin.xml of plugin located in /plugins/cordova-plugin-facebook4
both in /platforms/android/build.gradle and /platforms/android/project.properties in your cordova or ionic project.
I’ve tried this and it worked beautifully, thank you!
Hello,Its solved my problem , Thanks, but in facebook login, i am now getting this error
Error in Error callbackId: FacebookConnectPlugin20XXXX30
Can you please help me on this ?
Hi, It seems like you are getting this error for iOS, right? Please share complete details or steps you took. It will be helpful if you can explain the case.
No, its android. Earlier i got error at time of build for facebook. i solved it by your solution and android build successfully.
But when i check facebook login feature, it gives me error which i mention.
Please check if have provided Wrong App ID, secret key (if used), key hashs or android project details while installing FB plugin and in FB developer account.
Hi, thank you very. It work for me on two system
It worked beautifully.
Yessss! This saved my life
Open your poject with android studio and check the dependancies.
I tried them one at a time and adding latest android to the platforms worked for me! Thanks for the answer
I worked correctly with:
Project > platforms > android > project.properties
..... cordova.system.library.1=com.google.firebase:firebase-core:10.+ cordova.system.library.2=com.google.firebase:firebase-messaging:10.+ cordova.system.library.7=com.google.android.gms:play-services-auth:10.+ cordova.system.library.8=com.google.android.gms:play-services-identity:10.+ cordova.system.library.9=com.facebook.android:facebook-android-sdk:4.16.0
ionic cordova build android
I hope this helps someone (Y)
worked for me as well .