我尝试添加multiDexEnabled trur,但它仍然面临上述问题。怎么解决呢? 我正在使用3.1版Android Studio。
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.moon.administrator.librarytest"
minSdkVersion 23
targetSdkVersion 26
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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.android.support.constraint:constraint-layout:1.0.2'
implementation files('libs/android-support-v4.jar')
implementation files('libs/asn1.jar')
implementation files('libs/classes.jar')
implementation files('libs/classesprt.jar')
implementation files('libs/droidText.0.2.jar')
implementation files('libs/libVmf.jar')
implementation files('libs/simple-xml-2.7.jar')
implementation files('libs/mpos.jar')
compile( 'com.android.support:multidex:1.0.3')
}