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.

Using StorIO with AndroidX and Jetifier

See original GitHub issue

We are converting one of our project to AndroidX and the jetifier seems to choke on the @NonNull annotation in the generated resolver (e.g., mapFromCursor(@NonNull ...)

When compiling we have Cannot find symbol on the NonNull symbol. This is probably because the jetifier did not convert com.android.support:support-annotations into androidx.annotation:annotation:1.0.0-alpha1 .

Anyone else ran into this as well? Is there any will to migrate from the support libs to AndroidX?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
nikitin-dacommented, Oct 11, 2018

Hi guys! Many sorry for delay Jetifier rewrites binaries of third-party code, but it seems can’t handle generated by this library classes =( Hopefully I will publish both annotation types support in this weekend

0reactions
nikitin-dacommented, Oct 12, 2018

Nobody likes annotation processing =/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using StorIO with AndroidX and Jetifier - Stack Overflow
We are converting one of our project to AndroidX and the jetifier seems to choke on the @NonNull annotation in the generated resolver...
Read more >
android studio 3.2 canary with androidx not compiling ... - GitHub
AndroidX must be enabled when Jetifier is enabled. To resolve, set android.useAndroidX=true in your gradle.properties file.
Read more >
Jetifier - Android Developers
The tool lets you migrate an individual library directly instead of using the Android Gradle plugin bundled with Android Studio.
Read more >
Android - Jetifier - GeeksforGeeks
Jetifier supports nested archives in JAR, AAR, and ZIP files. Jetpack is a collection of tools, guides, and libraries that make it easier...
Read more >
Say bye-bye to Android Jetifier | Dipien
Jetifier will change the byte code of those dependencies to make them compatible with projects using AndroidX. Having Jetifier enabled on your project...
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