嗨,我正在尝试创建发布apk,这里我使用了react-native-geocode,但是在创建构建时出现波纹错误
Execution failed for task ':react-native-geocoder:verifyReleaseResources'.
com.android.ide.common.process.ProcessException:无法执行aapt
有人遇到这样的问题吗?
答案 0 :(得分:0)
嗨,尝试一下android / build.gradle最后添加:
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}