Diese Seite ist in Ihrer lokalen Sprache noch nicht verfügbar. Wir arbeiten daran, weitere Sprachversionen hinzuzufügen. Vielen Dank für Ihre Unterstützung.

On this page

Show all

Help Center/ CodeArts Build/ FAQs/ Using Android for Build/ Failing to Download com.android.tools.build:gradle:3.0.1

Failing to Download com.android.tools.build:gradle:3.0.1

Updated on 2023-11-28 GMT+08:00

Symptoms

The error information is as follows:

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

Solution

According to the log, add the google() repository to the build.gradle file in the app directory as shown below:

allprojects {
repositories {
google()
jcenter()
}
}
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback