Error:(1, 0) Plugin with id 'android' not found

前端 未结 2 1864
梦如初夏
梦如初夏 2020-12-08 20:40

I have just installed Android Studio and after some quirks about the SDK Build Tools minimum having to be 19.1.0 instead of 19.0.3 I have not came about another error

相关标签:
2条回答
  • 2020-12-08 21:17

    It Works, I just change gradle version to classpath 'com.android.tools.build:gradle:1.0.0'

    0 讨论(0)
  • 2020-12-08 21:20

    Put below code in build.gradle file of main Application and sync it.

    buildscript {
        repositories {
            mavenCentral()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:1.0.0'
        }
    }
    
    allprojects {
        repositories {
            mavenCentral()
        }
    }
    
    0 讨论(0)
提交回复
热议问题