react-native-background-job
react-native-background-job copied to clipboard
error: package android.support.annotation does not exist
i tried to run my project using RN 0.63.2 and react-native-background-job ^2.3.1, and I got:
[PROJECT_PATH]/node_modules/react-native-background-job/android/src/main/java/com/pilloxa/backgroundjob/ReactNativeEventStarter.java:7: error: package android.support.annotation does not exist import android.support.annotation.NonNull;
It's works for me!
Open your app on Android Studio -> fix several files on ../backgroundjob (as attached img) by hover @Nullable
then alt + shift + enter
. hope it's helpful for you
It's works for me! Open your app on Android Studio -> fix several files on ../backgroundjob (as attached img) by hover
@Nullable
thenalt + shift + enter
. hope it's helpful for you
Méo thấy cái @Nullable ở đâu luôn.