I wanna use firebase database but when I clicked on "Connect to firebase" button, I got this problem .... can anyone help me???
Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
Just go to your build. gradle (module app) and comment out most of them or all of them (to find out which one) , sync again ignore all error for now and try connecting to firebase again if it's successful then you can go back to your build. gradle and uncomment them to fix errors. Save this answer.
A project in Android Studio contains everything that defines your workspace for an app, from source code and assets, to test code and build configurations.
This problem is connected with one or more of your plugins.
Paste this:
android.debug.obsoleteApi=true
to your gradle.properties file.
Now make rebuld. You must see a stacktrace with the problem plugin. Switch off this plugin, sync and try to connect to Firebase again - must be success now.
After successful connection to Firebase you can return your plugins, remove that line from the gradle.properties file and resync. Warning will appear again, but it is not important, because Firebase has configured already.
P.S. In my case I had 2 problem plugins: Sceneform and Crashlytics.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With