LoginSignup
3
3

More than 5 years have passed since last update.

【ロボホン開発】Could not find com.android.tools.build:gradle:3.0.1. の対処法

Posted at

ロボホンのアプリのコンパイルでエラーが出る

Could not find com.android.tools.build:gradle:3.0.1.

この場合は、build.gradle に google() を追加すればOK

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3