问题如下:
Error:Could not find com.android.tools.build:gradle:2.2.2.
Searched in the following locations:
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
Required by:
Kuaibaike:sliding_menu:unspecified
解决办法:
Could not find com.android.tools.build:gradle:2.2.2 关键之词,没有找到2.2.2版本,根据提示路径打开,果然没有这个版本
那就改成现有的,运行一下,解决了!