react-native run-android Building Error ':app:generateDebugBuildConfig'

前端 未结 5 1523
天命终不由人
天命终不由人 2021-01-01 15:55

I am having a problem to build a new project. I am using React-Native and Android Emulator (AVD) but when I use the command react-native run-android I get the f

5条回答
  •  别那么骄傲
    2021-01-01 16:36

    Navigate into the android folder of your react-native project and type the following:

    gradlew cleanBuildCache

    Then fire up something like Android Studio do a build and you should find the issue is resolved. If you still get errors check the log carefully the information is in there just hard to find.

提交回复
热议问题