react-native-flurry-analytics
react-native-flurry-analytics copied to clipboard
Annotation does not exist
I get the below error while trying to build React Native App in Android. Is this related to the AndroidX migration?
Task :react-native-flurry-analytics:compileDebugJavaWithJavac FAILED /node_modules/react-native-flurry-analytics/android/src/main/java/com/xxsnakerxx/flurryanalytics/FlurryAnalyticsModule.java:3: error: package android.support.annotation does not exist import android.support.annotation.Nullable; ^
I get this error as well.
The error is due to AndroidX upgrade.
Best way to handle would be to upgrade react-native to 0.60, use the jetifier tool to resolve the migration issues.
https://facebook.github.io/react-native/blog/2019/07/03/version-60
https://github.com/mikehardy/jetifier