Failed resolution of: Lcom/google/android/gms/iid/InstanceID
See original GitHub issueBuild is failing with this library. Error is thrown in RNDeviceModule.java on line 12 at
import com.google.android.gms.iid.InstanceID;
If I remove this line and line 112
constants.put("instanceId", InstanceID.getInstance(this.reactContext).getId());
, my app builds successfully. Anybody have a permanent or better fix?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Failed resolution of: Lcom/google/firebase/iid ...
I'm still getting this issue on 5.9.4 and 5.9.5: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/ ...
Read more >Failed resolution of: Lcom/google/firebase/FirebaseApp - ...
Generate google-services.json and put it to your android/app/ directory. Add classpath 'com.google.gms:google-services:4.1.0' to buildscript ...
Read more >Crash: Failed resolution of FirebaseInstanceId at com. ...
Hi Backendless, We are experiencing crashes in our Android app, which has been running for quite a while (over 4 years) without problems, ......
Read more >Didn't find class "com.google.android.gms.common.R$string ...
after update android studio to 3.6.0 and update Gradle version to `3.6.0` I got error ... Failed resolution of: Lcom/google/android/gms/common/R$string;
Read more >Failed resolution of: Lcom/google/firebase/FirebaseApp-React ...
Coding example for the question Java.lang. ... implementation("com.google.firebase:firebase-iid") ... apply plugin: 'com.google.gms.google-services'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it helps me
my gardle file:
I am glad that it works for you guys 😃