Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.3.X, 2020.1.X
Votes
13
Found in
2018.2.21f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1141877
Regression
No
[Android] Gradle build fails with AndroidX libraries
Steps to reproduce:
1. Open user attached project
2. Make an Android build
3. Observe that build fails with:
java.lang.RuntimeException:
java.lang.RuntimeException:
com.android.builder.dexing.DexArchiveMergerException:
Unable to merge dex
Expected result: Gradle build failure should not occur with AndroidX libraries
Reproduced in: 2019.2.0a10, 2018.3.12f1, 2018.2.21f1
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
murari_sybo
Jun 21, 2019 13:51
I'm noticing the exact same issue on Unity 2019.1.4f1 - my gradle build keeps failing due to multiple dex define issues on androidx libraries vs support libraries, and can't merge them.