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

android.support.annotation 程序包报错 #29

Open
gaowei1012 opened this issue Sep 1, 2020 · 1 comment
Open

android.support.annotation 程序包报错 #29

gaowei1012 opened this issue Sep 1, 2020 · 1 comment

Comments

@gaowei1012
Copy link
Owner

使用 react-native-picker

报错 android.support.annotation 程序包错误

解决方法

// 找到 pricker android 的包,将
import android.support.annotation.Nullable; // del

// 改为 
import androidx.annotation.Nullable;
@gaowei1012
Copy link
Owner Author

gaowei1012 commented Sep 1, 2020

替换 npm 的安装地址 git+https://github.com/gaowei1012/react-native-picker.git

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

1 participant