Не удалось разрешить: multidex Открыть файл Не удалось разрешить: runtime Открыть файл Не удалось разрешить: общий Открыть файл - PullRequest
0 голосов
/ 11 июня 2018

Не удалось разрешить: multidex

Открыть файл

Не удалось разрешить: время открытия Открыть файл

Не удалось разрешить: обычное открытие файла ##

Это ошибка Android студии

———————————————— Вот что мой модуль Build.gradle

apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'


android {
    compileSdkVersion 26
    buildToolsVersion '27.0.3'
    defaultConfig {
        applicationId "com.wlkj.ciyun"
        minSdkVersion 17
        targetSdkVersion 26
        versionCode 2
        versionName "2.0.1"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }

    lintOptions {
        disable "ResourceType"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    dexOptions {
        jumboMode true
    }

    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }

}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.+'
    implementation 'com.android.support.constraint:constraint-layout:1.1.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
    implementation 'com.jakewharton:butterknife:8.4.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
    implementation 'jp.wasabeef:glide-transformations:2.0.1'
    implementation 'org.kymjs.kjframe:kjframe:2.6'
    implementation 'com.google.code.gson:gson:2.8.0'
    implementation 'com.squareup.retrofit2:retrofit:2.1.0'
    implementation 'com.squareup.okhttp3:okhttp:3.4.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
    implementation 'com.squareup.retrofit2:converter-scalars:2.0.0'
    implementation files('libs/core-3.1.0.jar')
    implementation project(':pulltorefresh')
    implementation files('libs/android-support-multidex.jar')
    implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'

}

Ищите руководства у большого парня ---- спасибо

1 Ответ

0 голосов
/ 29 октября 2018

В проекте build.gradle

allprojects {
    repositories {
        /**
         * This must be at the top.
         */
        maven {
            url 'https://maven.google.com'
        }
        // Others 
        maven { url "..." }
        jcenter()
        mavenCentral()
        google()
    }
}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...