小编Mur*_*rat的帖子

无法解析com.android.support:support-v4:[26.0.0,26.1.0)安装存储库和同步项目

请帮我.

Uygulamaöncedençalışıyordu.

Amaşimdiçalışmıyor

这是gradle sync时的错误消息

在此输入图像描述

这是我的应用程序Gradle配置:

   apply plugin: 'com.android.application'
   android {
       compileSdkVersion 25
       buildToolsVersion '25.0.3'
       defaultConfig {
        minSdkVersion 16
        targetSdkVersion 25
        versionCode 1
        versionName '1.0'
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'),             
  'proguard-rules.txt'
        }
    }
    repositories {
        jcenter()
        mavenCentral()  // GPUImage for Android
    }
    dexOptions {
        javaMaxHeapSize "4g"
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile files('libs/acra-4.5.0.jar')
    compile files('libs/ormlite-android-4.43.jar')
    compile files('libs/ormlite-core-4.43.jar')
    compile files('libs/mysql-connector-java-3.0.17-ga-bin.jar')
    androidTestCompile('com.android.support.test.espresso:espresso-    
    core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
    })
// …
Run Code Online (Sandbox Code Playgroud)

git android

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

git ×1