-
Notifications
You must be signed in to change notification settings - Fork 120
Troubleshooting
Scott Olsen edited this page Nov 12, 2021
·
1 revision
This document lists some exceptions you may encounter while building or running Ground and offers potential solutions.
Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalArgumentException: Given String is empty or null
-
Cause: This error is typically thrown when Firebase cannot find a given configuration string in your
google-services.json
file. -
Solution: If your project already has a google-services file at
gnd/debug/google-services.json
, clean the project, then rebuild it (in Android stuido, select Build > Clean Project). This should resolve the issue. If you don't have agnd/debug/google-services.json
file, follow the instructions in CONTRIBUTING.md to set up firebase.
Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
- Cause: This error occurs when the database has changed but its version number has not been updated.README
-
Solution: Increase the value of the
DB_VERSION
field ingnd/src/main/java/Config.java
.