New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate entry as soon as I add Appium Java client dependency #526
Comments
@thehellmaker Hi. Sorry for the delaying. I was busy. Please take a look at the config: And everything works fine: If it should be included to the app please describe this case. Yes. You are right. There is the issue. You may read about it here: #413 |
@thehellmaker Please reopen this one if the advice above doesen't help and the issue still affects your work. |
@TikhomirovSergey hi,when i try to use java-client in app with gradle: |
my version: stacktrace: |
still issue in version 7.2.0 |
@thehellmaker is your problem sloved? |
Description
Getting duplicate entry exception in android studio as soon as i add the following dependency
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
Environment
Compilation issue so this is on all environment
Details
Please provide more details, if necessary.
Code To Reproduce Issue [ Good To Have ]
apply plugin: 'com.android.application'
// Dagger 2
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "com.example.app"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
jumboMode = true
preDexLibraries = true
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
productFlavors {
}
}
dependencies {
}
android {
packagingOptions {
// FasterXml Jackson Issue
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
//Apache Commons Lang3 Issue
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/DEPENDENCIES'
}
}
Ecxeption stacktraces
Please create a gist with pasted stacktrace of exception thrown by java.
Link to Appium logs
Please create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs as linked gists! It helps to define the problem correctly and clearly.
The text was updated successfully, but these errors were encountered: