【发布时间】:2017-08-23 22:23:24
【问题描述】:
这是我的构建 gradle,对修复此错误有帮助吗?我也有错误:
解析 com.google.android.gms:play-services-maps:14.0.4 失败
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '26.0.0'
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.Kreatech.handje"
minSdkVersion 23
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
productFlavors {
}
}
dependencies {
compile files('libs/httpmime-4.1.3.jar')
//===============
compile 'com.mikhaellopez:circularimageview:2.0.2'
compile 'com.mcxiaoke.volley:library:1.0.6@aar'
compile files('libs/Parse-1.6.0.jar')
compile 'junit:junit:4.12'
compile 'com.android.support:support-v4:26.0.0'
compile 'com.google.android.gms:play-services-maps:14.0.4'
compile 'com.google.android.gms:play-services-ads:11.0.4'
compile 'com.google.android.gms:play-services-auth:11.0.4'
compile 'com.google.android.gms:play-services-gcm:11.0.4'
}
【问题讨论】:
-
发布你的应用级别的 build.gradle 文件
标签: javascript android html android-studio