Gradle is issuing an error “Could not create plugin of type 'AppPlugin'”

后端 未结 10 727
北荒
北荒 2020-11-29 04:46

I\'m trying to create a simple android project with gradle. I work in a computer with Debian GNU/Linux 7 \'wheezy\'.

I followed the recomendations in Gradle Plugin U

10条回答
  •  一整个雨季
    2020-11-29 05:32

    I got it working using Gradle 1.10 with the Gradle plugin 0.8.0.

    // /build.gradle
    // Top-level build file where you can add configuration 
    // options common to all sub-projects/modules.
    buildscript {
        repositories {
            mavenCentral()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:0.8.+'
        }
    }
    

    ...

    # /gradle/wrapper/gradle-wrapper.properties.
    #Sat Feb 01 20:41:29 CET 2014
    distributionBase=GRADLE_USER_HOME
    distributionPath=wrapper/dists
    zipStoreBase=GRADLE_USER_HOME
    zipStorePath=wrapper/dists
    distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-bin.zip
    

提交回复
热议问题