What steps will reproduce the problem?
1. Run assembleDebugAndroidTest goal
2. Make changes to test code
3. Run assembleDebugAndroidTest goal again
What is the expected output? What do you see instead?
Successful build is expected.
However build fails with the following message:
com.android.dex.DexException: Multiple dex files define
Landroid/app/BuildConfig;
What version of the product are you using? On what operating system?
Mac OS X 10.10.3
Java 7
Gradle 2.2.1
Android Gradle plugin 1.2.3
Android SDK 21
Android Build Tools 22.0.1
Test Runner 0.2
Espresso Core 2.1
Please provide any additional information below.
It does not fail when I execute clean goal before assembleDebugAndroidTest.
The only dependency that contains offending file is
'exposed-instrumentation-api-publish'
Original issue reported on code.google.com by deadmoto on 13 May 2015 at 11:38
Original issue reported on code.google.com by
deadmoto
on 13 May 2015 at 11:38