Help Center/ CodeArts Build/ User Guide (Ally Region)/ FAQs/ Using Android for Build/ Failed to Download com.android.tools.build:gradle:3.0.1
Updated on 2026-01-08 GMT+08:00
Failed to Download com.android.tools.build:gradle:3.0.1
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()
}
} Parent topic: Using Android for Build
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot