react-native-background-job icon indicating copy to clipboard operation
react-native-background-job copied to clipboard

error: package android.support.annotation does not exist

Open auliakbarh opened this issue 4 years ago • 2 comments

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;

auliakbarh avatar Aug 26 '20 14:08 auliakbarh

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 Screenshot from 2020-10-04 00-14-16

trungnt98 avatar Oct 03 '20 17:10 trungnt98

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 Screenshot from 2020-10-04 00-14-16

Méo thấy cái @Nullable ở đâu luôn.

royaldragonit avatar Nov 20 '20 14:11 royaldragonit