- Error:Unknown host 'android.oa.com'. You may need to adjust the proxy settings in Gradle.
- gradle/wrapper/gradle-wrapper.properties
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http://android.oa.com/gradle/gradle-2.6-all.zip
#修改这个地址,可以新建工程找到可用地址或者google吧。
- Error:failed to find Build Tools revision 23.0.2 1.app/build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "23.0.2" //修改为本地环境可以用的版本例如25.0.2
defaultConfig {
applicationId "net.sourceforge.simcpux"
minSdkVersion 4
targetSdkVersion 4
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
signingConfigs {
debug {
storeFile file("../debug.keystore")
}
}
}
dependencies {
compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.1.6'
}
- file-seting-build,EXECUTION,DEPLOYMENT-GRADLE-GLOBAL GRADLE SETINGS-OFFINE WORK