Skip to content Skip to sidebar Skip to footer

Build Project With Gradle 2.2.1 And Android Studio 1.2.2

I want switch to Android Studio from Eclipse then i download k9mail open source project and decide to import this in AS. I don't familiar with AS and Gradle and build system. I ins

Solution 1:

You are confusing

  • gradle

  • gradle plugin for android

In the top level build.gradle you have to specify the gradle plugin:

classpath 'com.android.tools.build:gradle:1.2.3'

In the gradle/wrapper/gradle-wrapper.properties you have to specify the gradle version:

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

Post a Comment for "Build Project With Gradle 2.2.1 And Android Studio 1.2.2"