Reputation: 19
Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync I am getting this message while connecting to firebase from android studio
Upvotes: 1
Views: 2327
Reputation: 2858
This error occurs due to depreciation of the Compile keyword in built.gradle(app level)
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018.
Its Solution is to
Just replace the compile keyword with implementation or api in built.gradle(app level)
&
Rebuilt your project
Restart your Android Studio if not Solved after Rebuilt.
Upvotes: 1
Reputation: 6290
I bump into similar issues and found the following entry in my project’s build.gradle
to be the culprit. I am not sure why or what other libraries are affected.
// Firebase Assistant - Connect to Firebase hate this library
compile 'com.google.api-client:google-api-client:1.22.0'
compile 'com.google.http-client:google-http-client-gson:1.22.0'
Another suggestion is gzip files in your project might be the culprit: https://stackoverflow.com/a/40577173/561259
Upvotes: 0