Android-Studio upgraded from 0.1.9 to 0.2.0 causing gradle build errors now

前端 未结 7 551
粉色の甜心
粉色の甜心 2020-12-02 18:57

My current project had been building with Gradle just fine, since I created it (about a month ago), after acquiring Android-Studio. [I installed some earlier updates to Andr

7条回答
  •  囚心锁ツ
    2020-12-02 19:14

    Gradle should be updated already, you just need to let your previous projects know gradle has been updated.

    Source

    Edit your build.gradle file to show this:

    dependencies {
    classpath 'com.android.tools.build:gradle:0.5.+'
    }
    

    This should only be required for projects created with the previous version of Android Studio. New projects you create will have that by default.

提交回复
热议问题