Using StorIO with AndroidX and Jetifier
See original GitHub issueWe 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:
- Created 5 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top 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 >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 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
Nobody likes annotation processing =/