Call requires API level 19 (current min is 16): `java.util.Objects#requireNonNull`
See original GitHub issueAfter updating from 'me.tatarka:gradle-retrolambda:3.2.5'
to 'me.tatarka:gradle-retrolambda:3.4.0'
lint complains:
Call requires API level 19 (current min is 16):
java.util.Objects#requireNonNull
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
Call requires api level 19 current min is 16 java.util.objects ...
The java.util.Objects class was added to the Android platform in API 19, so trying to use that class and its methods on any...
Read more >Call requires API level 19 (current min is 15) - CSDN博客
Call requires API level 19 (current min is 15): java.util.objects#requireNonNull.
Read more >Objects | Android Developers
java.util.concurrent.atomic ... Added in API level 19 ... Called by the garbage collector on an object when garbage collection determines that there are...
Read more >lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks ...
"`$name` requires API level $api (current min is %1\$d), but note " + ... Desugar rewrites Objects.requireNonNull calls (see b/32446315).
Read more >D8 Library Desugaring - Jake Wharton
Running D8 on the Java bytecode (with a minimum API level of less than 19) desugars the call back into a getClass() invocation....
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 Free
Top 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
Moved on to Kotlin and the projects that are still having Lambdas are now all minSdk 19.
Oh that might be the case since I’m using error prone. Guess this can be closed then.