-
Notifications
You must be signed in to change notification settings - Fork 56
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 sdk版本与库版本不兼容 #22
Comments
请问是react native的那个版本啊? |
现在用的 需要修改 android {
compileSdkVersion 26 // 从25改为26
......
}
// 需要将dependencies里面的compile改为implemention
dependencies {
implementation "com.facebook.react:react-native:+"
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.5.1'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.5.1' // 没有使用特殊Header,可以不加这行
} |
你0.57的版本使用了这个库之后打包会报错吗,我这里报错了,需要怎么配置呀 |
我的也是 报错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
修改库的版本
compileSdkVersion 26 buildToolsVersion "26.0.2"
可以修复这个问题
The text was updated successfully, but these errors were encountered: