Could not parse the android application Module's Gradle config
14 June 2022
Error
Could not parse the android application Module's Gradle config. Firebase assistant problem.
Steps to Reproduce
- Open Android Studio.
- In Tools in the menu bar, select Firebase. This will open Firebase Assitant to the right.
- Select Realtime Database from the list, and click Get Started with Realtime Database.
- Click on Connect to Firebase button.
- You will encounter the error.
Solution
- Open gradle script, select module gradle.
- Edit versions of the compileSdk and targetSdk, & make it 31.
- Click Sync Now at the top.
- After Syncing is done, again click on Connect to Firebase.
- Firebase will be opened in the browser.