我正在尝试构建blue2serial app。我使用的是Android Studio 3.01。当我从命令提示符运行gradle -v
时,它告诉我版本3.5。我检查了项目结构并设置为3.5包装器。该应用程序将无法构建:
Could not find com.android.tools.build:gradle:3.5.
Searched in the following locations:
file:/C:/Program Files/Android Studio/gradle/m2repository/com/android/tools/build/gradle/3.5/gradle-3.5.pom
file:/C:/Program Files/Android Studio/gradle/m2repository/com/android/tools/build/gradle/3.5/gradle-3.5.jar
https://jcenter.bintray.com/com/android/tools/build/gradle/3.5/gradle-3.5.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.5/gradle-3.5.jar
https://maven.google.com/com/android/tools/build/gradle/3.5/gradle-3.5.pom
https://maven.google.com/com/android/tools/build/gradle/3.5/gradle-3.5.ja