Skip to content Skip to sidebar Skip to footer

I Have A Gradle Sync Error JAVA_LETTER_OR_DIGIT When Trying To Add Firebase To My Android Project

When I added the dependencies as told in the firebase guide and sync the project ,I get the error JAVA__LETTER_OR_DIGIT .I work with MAC OS X Yosemite and my android studio version

Solution 1:

The problem is with Android gradle plugin which doesn't work well with Google's Maven repository.

You can downgrade your google-services down to 4.2.0 as it was said by @mownathi-manigundan. Version 4.2.0 is available in AndroidTools Repository which outdated gradle plugin handles just fine

But it'd be better to update your plugin up to 3.2 or higher and use recommended com.google.gms:google-services:4.3.2. You can read more here how to to this


Solution 2:

Try changing your version of gms google service in your project gradle as com.google.gms:google-services:4.2.0


Post a Comment for "I Have A Gradle Sync Error JAVA_LETTER_OR_DIGIT When Trying To Add Firebase To My Android Project"