Не знаю, почему возникла эта ошибка и как ее устранить.
применить плагин: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.appium_123"
minSdkVersion 26
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
зависимости {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation files('src/libs/byte-buddy-1.8.15.jar')
implementation files('src/libs/commons-exec-1.3.jar')
implementation files('src/libs/guava-25.0-jre.jar')
implementation files('src/libs/java-client-7.2.0(1).jar')
implementation files('src/libs/okhttp-3.11.0.jar')
implementation files('src/libs/okio-1.14.0.jar')
implementation files('src/libs/selenium-server-standalone-3.141.59.jar')
implementation files('src/libs/commons-lang3-3.8.1.jar')
implementation files('src/libs/commons-lang3-3.8.1-javadoc.jar')
implementation files('src/libs/commons-lang3-3.8.1-sources.jar')
implementation files('src/libs/commons-lang3-3.8.1-test-sources.jar')
implementation files('src/libs/commons-lang3-3.8.1-tests.jar')
}
Ошибка: com.android.builder.dexing.DexArchiveBuilderException: ошибка при индексации META-INF / version / 9 / module-info.class