java.lang.RuntimeException: Missing an expected resource: 'R.string.google_api_key' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin. at com.google.firebase.crash.internal.api.FirebaseCrashApiImpl.init(:com.google.android.gms.DynamiteModulesC:1089) at bqs.onTransact(:com.google.android.gms.DynamiteModulesC:60)


Solutions on the web2

Solution icon of stackoverflow
via Stack Overflow by rocko
, 1 year ago
Missing an expected resource: 'R.string.google_api_key' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin. at

Solution icon of stackoverflow
via Stack Overflow by rocko
, 1 year ago
Missing an expected resource: 'R.string.google_api_key' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin. at

Stack trace

java.lang.RuntimeException: Missing an expected resource: 'R.string.google_api_key' for initializing Google services.  Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
                 at com.google.firebase.crash.internal.api.FirebaseCrashApiImpl.init(:com.google.android.gms.DynamiteModulesC:1089)
                 at bqs.onTransact(:com.google.android.gms.DynamiteModulesC:60)
	at android.os.Binder.transact(Binder.java:380)
	at com.google.firebase.crash.internal.zzd$zza$zza.zza(Unknown Source)
	at com.google.firebase.crash.FirebaseCrash.<init>(Unknown Source)
	at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.google.firebase.FirebaseApp.zza(Unknown Source)
	at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
	at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
	at com.google.firebase.FirebaseApp.zzeh(Unknown Source)
	at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
	at android.content.ContentProvider.attachInfo(ContentProvider.java:1696)
	at android.content.ContentProvider.attachInfo(ContentProvider.java:1671)
	at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
	at android.app.ActivityThread.installProvider(ActivityThread.java:4999)
	at android.app.ActivityThread.installContentProviders(ActivityThread.java:4594)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4534)
	at android.app.ActivityThread.access$1500(ActivityThread.java:151)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5254)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 year ago
4 times, 1 year ago