`IidCompatibilityCheckFailure` lint check fails with a null pointer exception (NPE)...
See original GitHub issueIidCompatibilityCheckFailure
lint check fails with a null pointer exception (NPE)…
Using bom 25.4.1
and Iid 20.2.0
The check failed to run as it encountered unknown failure. This is most likely caused by a new version of Android Gradle Plugin that this check does not support. Please make sure your build does not depend on firebase-iid version earlier than 20.1.1 as it will cause issues.
[REQUIRED] Step 2: Describe your environment
- Android gradle plugin 4.0.0
- Firebase Component: bom
25.4.1
and Iid20.2.0
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Run lintRelease
Seems to be related to dagger 2.28, or Google places SDK 2.3.0 or androidtimesquare lib 1.7.10
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:30 (10 by maintainers)
Top Results From Across the Web
Proper way to handle Android Studio's NullPointerException ...
If you want to get ride of it, throw an NullPointerException . Lint will ignore it in this case. public void myFunc() throws...
Read more >Firebase Android SDK Release Notes - Google
Fixed an IidCompatibilityCheckFailure lint check failure with a null pointer exception (NPE) that occurred on Gradle v6.1 and above. (GitHub Issue #1701) ...
Read more >Firebase Nullpointer Exception - ADocLib
Fixed an IidCompatibilityCheckFailure lint check failure with a null pointer exception NPE that occurred on. Android firebase firebaserealtimedatabase ...
Read more >Handling Java NullPointerException and Best Practices
Java NullPointerException is an unchecked exception and extends RuntimeException. Learn why NullPointerException occur and how to handle it ...
Read more >Why does my code throw a null pointer exception? - Evil Tester
I just made a Semantic coding error. This won't be caught by a compiler, but it will cause my @Test to fail with...
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
Hi Everyone.
Sorry for the delayed response. Yes, its a broken lint check caused by the reflection call in Firebase-Installations library resulting in this issue. I was figuring out if its safe to remove the lint check from the firebase-installations library.
We have decided on removing the lint check from Firebase Installations library by mid November. Since, this lint check failure is a weak warning, anyone getting this error please feel free to ignore it if your app depends on firebase-iid version i.e greater than 20.1.1
I will keep this issue open till we rollout the lint removal.
Thanks, Ankita
I might be seeing the same thing with a more descriptive error with Gradle 6.5.1 and Android Gradle Plugin 4.2.0-alpha04: