question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Call requires API level 19 (current min is 16): `java.util.Objects#requireNonNull`

See original GitHub issue

After 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:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
vanniktechcommented, Jul 19, 2017

Moved on to Kotlin and the projects that are still having Lambdas are now all minSdk 19.

0reactions
vanniktechcommented, Jul 24, 2017

Oh that might be the case since I’m using error prone. Guess this can be closed then.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found