- Home /
unity unable to convert to dex format, need help fast.
Help, when ever i build my android app, which includes the android sdk only, not android studio, and jdk 8, and also a plugin for unity ads, unity states that it was unable to convert classes into dex format. i think it has something to do with the unity ads plugin, but i dont know what, and its my first time creating an android app.
stderr[ Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/BuildConfig; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/IUnityAdsListener; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds$1; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds$2; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds$FinishState; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds$PlacementState; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/UnityAds$UnityAdsError; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/unity3d/ads/adunit/AdUnitActivity;
See if you have duplicates of a .jar file, some times, different packages will import the same .jar, resulting in duplicates, and the failure to convert to dex format.
Your answer
![](https://koobas.hobune.stream/wayback/20220612145507im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
advertisement existed in both editor 1 Answer
Moving file failed (Temp/Backupscenes) when starting Game Mode - every Unity version, every project 1 Answer
Unity Editor not installing from unity hub.,Unity Editor is not installing from unity hub. 0 Answers
Unity Mediation Plug-In breaks the game with infinite Resolving Android Dependencies 0 Answers
Load and switching level problem 0 Answers