Getting “verifyReleaseResources” error after upgrading React Native

前端 未结 4 1179
迷失自我
迷失自我 2021-01-03 18:28

I\'m trying to upgrade an application to React Native 0.57.1. I think I\'ve followed all the steps, upgraded all the right files, yet I\'m still getting an error that I cann

4条回答
  •  攒了一身酷
    2021-01-03 18:35

    You need to add following code in your project's android/build.gradle:

    subprojects {
        afterEvaluate {project ->
            if (project.hasProperty("android")) {
                android {
                    compileSdkVersion 27
                    buildToolsVersion "27.0.2"
                }
            }
        }
    }
    

提交回复
热议问题