Android Studio 3.1.3.2中的Gradle构建错误 [英] Gradle build error in Android Studio 3.1.3.2
问题描述
找不到gradle.jar(com.android.tools.build:gradle:3.1.3).在以下位置搜索:https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.jar
在Android Studio 3.1.3中创建新项目时遇到此错误
I am getting this error while creating a new project in Android Studio 3.1.3
推荐答案
默认的Gradle安装是Android Studio SDK的一部分,因此,如果您移动Android Studio文件的位置或在您的环境中定义了错误的PATH,则找不到sdk的位置是这样的.如果您的路径是其他android studio安装版本,则可能其中没有特定版本的gradle.
The default gradle install is part of Android Studio sdk so if you moved your Android Studio files location or have the wrong PATH defined in your environment it won't find the sdk location like this. If your path is to a different android studio installation version it might not have that particular version of gradle in it.
这篇关于Android Studio 3.1.3.2中的Gradle构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!