Deprecated Gradle features making it incompatible with Gradle 5.0. Android Studio 3.2

前端 未结 5 1220
情歌与酒
情歌与酒 2020-12-11 04:12

My android app Gradle build is not syncing, since I updated my android studio to 3.2. I have updated everything in the dependencies and still getting the same error. Here ar

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-11 04:41

    I found easiest way to solve this issue. Go to projectName/android directory and in terminal enter the following command

    ./gradlew clean
    

    And then, go to main project directory by entering following command

    cd ..
    

    And then start the project

    react-native run-android
    

提交回复
热议问题