升級到Android Studio 2.2後,我的應用程序出現問題:Multidex 64k方法限制。Android Multidex問題在一個小應用程序
但是,我的應用程序是一個非常簡單的應用程序,它只有幾個庫。
這是我的gradle:
apply plugin: 'com.android.application'android { compileSdkVersion 25 buildToolsVersion "23.0.2"
defaultConfig { applicationId "com.digitalborder.webappessentials" minSdkVersion 19 targetSdkVersion 23 versionCode 24 versionName "2.2.2" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } useLibrary 'org.apache.http.legacy'
}
依賴性{ 編譯文件樹(DIR: '庫',包括:[ '的* .jar']) testCompile「的junit:junit的:4.12'
compile 'com.android.support:appcompat-v7:25.0.0' compile 'com.android.support:support-v4:25.0.0' compile 'com.android.support:design:25.0.0' compile 'com.google.android.gms:play-services:9.6.1' compile 'com.google.firebase:firebase-core:9.2.0'
}
apply plugin:'com.google.gms.google-services' >
有人可以幫我嗎?
謝謝!