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 import android.support.annotation.Nullable; #5

Open
SungjungC opened this issue Oct 26, 2020 · 1 comment

Comments

@SungjungC
Copy link

node_modules/react-native-serial-port-api/android/src/main/java/com/bastengao/serialport/EventSender.java:3: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;

I have this issue when I debug.

@hamidrahimi
Copy link

All you need to do is to replace 'import android.support.annotation.Nullable' in class imports to
import androidx.annotation.Nullable;

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

2 participants