Upgrading project to Android Studio 1.0 (Gradle problems)

后端 未结 3 1291
轻奢々
轻奢々 2021-02-08 03:47

Just to start I\'m very new to android development/android studio/gradle so forgive me if I\'m asking a stupid question.

My team has been working on a project with the b

3条回答
  •  我寻月下人不归
    2021-02-08 04:23

    in the gradle-wrapper.properties use the following

    distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
    

    in build.gradle use

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

    also replace

    runProguard false
    

    with

     minifyEnabled true
    

    I hope this can help

提交回复
热议问题