Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: package android.support.annotation does not exist #168

Open
auliakbarh opened this issue Aug 26, 2020 · 2 comments
Open

error: package android.support.annotation does not exist #168

auliakbarh opened this issue Aug 26, 2020 · 2 comments

Comments

@auliakbarh
Copy link

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;

@trungnt98
Copy link

trungnt98 commented Oct 3, 2020

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

@royaldragonit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants