Issue with AndroidX compatibility
See original GitHub issueHi, I’m using the latest Android SDK as well the new RN0.59.8 , it seems your package is not compatible with this versions.
I’m getting this errors
> Task :react-native-date-picker:compileReleaseJavaWithJavac FAILED
/Users/jglr/project/app/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/DatePickerManager.java:3: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
thanks,
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (6 by maintainers)
Top Results From Across the Web
How to fix AndroidX compatibility for Flutter in Android Studio?
I had this problem was when I add to my flutter proyect the location plugin and upgrade the core to flutter 1.5.4. But...
Read more >Compatibility issue with AndroidX - JakeWharton/butterknife
Hi @JakeWharton,. I was migrating one of my project to AndroidX getting this error while trying to build my application: Caused by: java.lang....
Read more >AndroidX Overview - Android Developers
Unlike the Support Library, androidx packages are separately maintained and updated. The androidx packages use strict Semantic Versioning, ...
Read more >Gradle & AndroidX compatibility - Medium
Another common scenario is: fix AndroidX compatibility. In this specific case, I will show how to use the binary library biometric of androidx ......
Read more >Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
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
If no one else is able to find a solution that works for everyone, I will try to find one as soon as I can, hopefully within a couple of days.
Found the problem! Here is what I did, I run the rn599 sample and it worked fine then I used my package.json file of the problematic project in project rn599, the problem starts to happen when I link the libraries.
After digging, I found that the problem occurs when
react-native-push-notification
is linked into android project! will you please try to add"react-native-push-notification": "^3.1.2",
to yourpackage.json
and test … you will eventually reach the error I got above that seems to be inreact-native-date-picker
it self /🙄\