I use react-native-music-control and react-native-navigation(by wix) , rnmc requires compilesdkversion 23 and buildToolsVersion '23.0.1' whereas rnn requires compilesdkversion 25 and buildToolsVersion '25.0.0', rnn does not work with 25.0.0/25 and rnn won't work with 23/23.0.1 . I don't have much experience with android so I'm not sure how to fix this, any guidance would be great.
我使用react-native-music-control和react-native-navigation(通过wix),rnmc需要compilesdkversion 23和buildToolsVersion '23 .0.1',而rnn需要compilesdkversion 25和buildToolsVersion '25 .0.0',rnn不适用于25.0 .0 / 25和rnn不适用于23 / 23.0.1。我对android没有太多经验,所以我不知道如何解决这个问题,任何指导都会很棒。
1 个解决方案
#1
0
Add the following to build.gradle
in your projects root directory
将以下内容添加到项目根目录中的build.gradle中
subprojects {
afterEvaluate {
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
targetSdkVersion 25
}
}
}
}
#1
0
Add the following to build.gradle
in your projects root directory
将以下内容添加到项目根目录中的build.gradle中
subprojects {
afterEvaluate {
android {
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
targetSdkVersion 25
}
}
}
}