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.

Issue with AndroidX compatibility

See original GitHub issue

Hi, 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:closed
  • Created 4 years ago
  • Comments:24 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
henninghallcommented, Jun 19, 2019

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.

2reactions
hopewisecommented, Jun 19, 2019

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 your package.json and test … you will eventually reach the error I got above that seems to be in react-native-date-picker it self /🙄\

Read more comments on GitHub >

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

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