Closed GoogleCodeExporter closed 9 years ago
at least have the same issue :(
Original comment by to.mikek...@gmail.com
on 5 Feb 2015 at 3:51
dexOptions {
preDexLibraries false
}
May help you as a temporary workaround
Original comment by imor...@gmail.com
on 11 Feb 2015 at 1:10
thanks for the feedback, for me: fixed one: came up another:
Error Code:
3
Output:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
at com.android.dx.command.dexer.Main.processClass(Main.java:732)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
at com.android.dx.command.dexer.Main.access$300(Main.java:82)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:632)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:279)
at com.android.dx.command.dexer.Main.run(Main.java:245)
at com.android.dx.command.dexer.Main.main(Main.java:214)
at com.android.dx.command.Main.main(Main.java:106)
Original comment by to.mikek...@gmail.com
on 11 Feb 2015 at 2:01
Unfortunately, I also stumbled on this Issue.
Windows 8.1 Pro 64bit
java version "1.7.0_67"
Gradle 2.2.1
android-sdk 24.0.2
BuildTools 21.1.2
android-gradle-plugin 1.1.1
There are my open source projects that can be reproduced here.
https://github.com/jakenjarvis/Android-OrmLiteContentProvider/tree/develop
Reproduced in the following procedure.
> git clone -b develop
git@github.com:jakenjarvis/Android-OrmLiteContentProvider.git
> cd Android-OrmLiteContentProvider
> git checkout -b a37feee
> git submodule update --init
> cd gradle
> cd commonlibrary
> git checkout -b c9dcc43
> cd ..
> cd ..
> gradlew clean build test connectedAndroidTest
Original comment by Jaken.Jarvis
on 26 Feb 2015 at 12:59
Doesn't look like an espresso issue. You need to sort out why that file gets
included in multiple dex files.
Original comment by vale...@google.com
on 18 Mar 2015 at 5:24
Original issue reported on code.google.com by
chris.mark.jenkins@gmail.com
on 15 Jan 2015 at 12:32