我收到错误:未知主机' jcenter.bintray.com'
错误:未知主机' jcenter.bintray.com'。您可能需要在Gradle中调整代理设置。
启用Gradle'离线模式'和同步项目
Learn about configuring HTTP proxies in Gradle
在Android Studio 2.2.1上。 你能帮帮我吗?
这是我的代码
的build.gradle
val add = fn : int * int -> int
的build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.dev.alemappdev.testclevertap"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.google.android.gms:play-services-gcm:9.6.1'
compile 'com.clevertap.android:clevertap-android-sdk:3.0.0'
compile 'com.google.firebase:firebase-messaging:9.0.2' // uncomment if using FCM
compile 'com.android.support:support-v4:23.4.0'
}
apply plugin: 'com.google.gms.google-services'