一、配置好项目build.gradle文件Sync后,在Terminal执行gradlew small报错:
Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools:common:25.3.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.pom
https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.jar
https://repo.maven.apache.org/maven2/com/android/tools/common/25.3.3/common-25.3.3.pom
https://repo.maven.apache.org/maven2/com/android/tools/common/25.3.3/common-25.3.3.jar
https://dl.google.com/dl/android/maven2/com/android/tools/common/25.3.3/common-25.3.3.pom
https://dl.google.com/dl/android/maven2/com/android/tools/common/25.3.3/common-25.3.3.jar
Required by:
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.build:manifest-merger:25.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.ddms:ddmlib:25.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:shared:25.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.analytics-library:tracker:25.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools.layoutl
ib:layoutlib-api:25.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:dvlib:2
5.3.3
project : > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools:sdklib:25.3.3 > com.android.tools:reposit
ory:25.3.3
引入的small版本:classpath 'net.wequick.tools.build:gradle-small:1.1.0-alpha2'。一看就知道是项目build.gradle的gradle版本配置classpath 'com.android.tools.build:gradle:2.3.3'引致问题,修改为classpath 'com.android.tools.build:gradle:2.3.0',再执行gradlew small后就OK了。
二、在Android Studio 3.3上已经不能带"."命名module了,并且官方文档也很久没有维护,暂时没有解决办法,接入Small终止。