Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Unable to convert classes to dex format - Android issue

Discussion in 'Android' started by ixikos, Aug 22, 2013.

  1. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,160
    Thanks, that solved, I had three of these v4.
     
  2. abhishek20502025

    abhishek20502025

    Joined:
    May 19, 2015
    Posts:
    9
    i had that same problem of not converting class to dex file.....

    but that's solved by redeveloping .jar file...

    but after building app there comes new problem that is :
    ERROR:
    Unable to find unity activity in manifest. You need to make sure orientation attribute is set to fullSensor manually.
    UnityEditor.HostView:OnGUI()


    can anybody help..
     
  3. MihailS

    MihailS

    Joined:
    Dec 30, 2012
    Posts:
    5
    Had the same issue, and after I read all your answers I search through the Plugin folder and find a duplicate of "android-support-v4.jar" in the one of the libs folders . I had one from Facebook and a hour ago I just added Google play services( which come with the same file) . I deleted the last added one and the build was successful. :)
     
  4. an_

    an_

    Joined:
    Jun 19, 2015
    Posts:
    7
    help. In MAC :
    Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
    /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/tuyou/android-dev/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/Unity.app/Contents/BuildTargetTools/AndroidPlayer/sdktools.jar" -

    stderr[

    UNEXPECTED TOP-LEVEL EXCEPTION:
    java.lang.IllegalArgumentException: already added: Lcom/example/new_/R$attr;
    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:83)
    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.processDirectory(ClassPathOpener.java:229)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
    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:280)
    at com.android.dx.command.dexer.Main.run(Main.java:246)
    at com.android.dx.command.dexer.Main.main(Main.java:215)
    at com.android.dx.command.Main.main(Main.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at SDKMain.main(SDKMain.java:129)
    1 error; aborting
    ]
    stdout[
    processing archive bin/classes.jar...
    processing com/unity3d/player/a$1.class...
    processing com/unity3d/player/a$2.class...
    processing com/unity3d/player/a$a.class...
    processing com/unity3d/player/a.class...
    processing com/unity3d/player/b$1.class...
    processing com/unity3d/player/b$2.class...
    processing com/unity3d/player/b.class...
    processing com/unity3d/player/c.class...
    processing com/unity3d/player/d$1.class...
    processing com/unity3d/player/d$2.class...
    processing com/unity3d/player/d.class...
    processing com/unity3d/player/e.class...
    processing com/unity3d/player/f.class...
    processing com/unity3d/player/g.class...
    processing com/unity3d/player/h.class...
    processing com/unity3d/player/i.class...
    processing com/unity3d/player/j$1.class...
    processing com/unity3d/player/j$2$1$1.class...
    processing com/unity3d/player/j$2$1.class...
    processing com/unity3d/player/j$2.class...
    processing com/unity3d/player/j.class...
    processing com/unity3d/player/k$1.class...
    processing com/unity3d/player/k.class...
    processing com/unity3d/player/l.class...
    processing com/unity3d/player/m.class...
    processing com/unity3d/player/n$1.class...
    processing com/unity3d/player/n.class...
    processing com/unity3d/player/NativeLoader.class...
    processing com/unity3d/player/o.class...
    processing com/unity3d/player/ReflectionHelper$1.class...
    processing com/unity3d/player/ReflectionHelper$a.class...
    processing com/unity3d/player/ReflectionHelper.class...
    processing com/unity3d/player/p.class...
    processing com/unity3d/player/q$1.class...
    processing com/unity3d/player/q$2.class...
    processing com/unity3d/player/q$3.class...
    processing com/unity3d/player/q.class...
    processing com/unity3d/player/r.class...
    processing com/unity3d/player/s.class...
    processing com/unity3d/player/UnityPlayer$1.class...
    processing com/unity3d/player/UnityPlayer$2.class...
    processing com/unity3d/player/UnityPlayer$3.class...
    processing com/unity3d/player/UnityPlayer$4.class...
    processing com/unity3d/player/UnityPlayer$5.class...
    processing com/unity3d/player/UnityPlayer$6.class...
    processing com/unity3d/player/UnityPlayer$7.class...
    processing com/unity3d/player/UnityPlayer$8.class...
    processing com/unity3d/player/UnityPlayer$9.class...
    processing com/unity3d/player/UnityPlayer$10.class...
    processing com/unity3d/player/UnityPlayer$11.class...
    processing com/unity3d/player/UnityPlayer$12$1.class...
    processing com/unity3d/player/UnityPlayer$12.class...
    processing com/unity3d/player/UnityPlayer$13.class...
    processing com/unity3d/player/UnityPlayer$14.class...
    processing com/unity3d/player/UnityPlayer$15.class...
    processing com/unity3d/player/UnityPlayer$16.class...
    processing com/unity3d/player/UnityPlayer$17.class...
    processing com/unity3d/player/UnityPlayer$18.class...
    processing com/unity3d/player/UnityPlayer$a.class...
    processing com/unity3d/player/UnityPlayer$b.class...
    processing com/unity3d/player/UnityPlayer$c.class...
    processing com/unity3d/player/UnityPlayer.class...
    processing com/unity3d/player/UnityPlayerActivity.class...
    processing com/unity3d/player/UnityPlayerNativeActivity.class...
    processing com/unity3d/player/UnityPlayerProxyActivity.class...
    processing com/unity3d/player/t.class...
    processing com/unity3d/player/u$1.class...
    processing com/unity3d/player/u.class...
    processing com/unity3d/player/WWW.class...
    processing org/fmod/FMODAudioDevice$a.class...
    processing org/fmod/FMODAudioDevice.class...
    processing org/fmod/a.class...
    processing bin/classes/./com/example/new_/R$attr.class...
    processing bin/classes/./com/example/new_/R$dimen.class...
    processing bin/classes/./com/example/new_/R$drawable.class...
    processing bin/classes/./com/example/new_/R$id.class...
    processing bin/classes/./com/example/new_/R$layout.class...
    processing bin/classes/./com/example/new_/R$menu.class...
    processing bin/classes/./com/example/new_/R$string.class...
    processing bin/classes/./com/example/new_/R$style.class...
    processing bin/classes/./com/example/new_/R.class...
    processing archive plugins/./android-support-v4.jar...
    ignored resource META-INF/MANIFEST.MF
    processing android/support/v4/util/TimeUtils.class...
    processing android/support/v4/util/MapCollections$MapIterator.class...
    processing android/support/v4/util/LongSparseArray.class...
    processing android/support/v4/util/CircularArray.class...
    processing android/support/v4/util/ArrayMap.class...
    processing android/support/v4/util/DebugUtils.class...
    processing android/support/v4/util/LruCache.class...
    processing android/support/v4/util/SimpleArrayMap.class...
    processing android/support/v4/util/MapCollections$ValuesCollection.class...
    processing android/support/v4/util/MapCollections$EntrySet.class...
    processing android/support/v4/util/Pools$SimplePool.class...
    processing android/support/v4/util/MapCollections$KeySet.class...
    processing android/support/v4/util/ArrayMap$1.class...
    processing android/support/v4/util/LogWriter.class...
    processing android/support/v4/util/Pools$SynchronizedPool.class...
    processing android/support/v4/util/MapCollections.class...
    processing android/support/v4/util/Pools.class...
    processing android/support/v4/util/MapCollections$ArrayIterator.class...
    processing android/support/v4/util/SparseArrayCompat.class...
    processing android/support/v4/util/ContainerHelpers.class...
    processing android/support/v4/util/Pools$Pool.class...
    processing android/support/v4/util/AtomicFile.class...
    processing android/support/v4/widget/DrawerLayout$State.class...
    processing android/support/v4/widget/SlidingPaneLayout$PanelSlideListener.class...
    processing android/support/v4/widget/ExploreByTouchHelper$1.class...
    processing android/support/v4/widget/DrawerLayout$SavedState$1.class...
    processing android/support/v4/widget/SwipeRefreshLayout$OnRefreshListener.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatHoneycombImpl.class...
    processing android/support/v4/widget/SlidingPaneLayout$SavedState$1.class...
    processing android/support/v4/widget/EdgeEffectCompat$EdgeEffectImpl.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatHoneycombImpl$2.class...
    processing android/support/v4/widget/SlidingPaneLayout$DragHelperCallback.class...
    processing android/support/v4/widget/SwipeRefreshLayout.class...
    processing android/support/v4/widget/SimpleCursorAdapter$CursorToStringConverter.class...
    processing android/support/v4/widget/AutoScrollHelper$ClampedScroller.class...
    processing android/support/v4/widget/ListPopupWindowCompat.class...
    processing android/support/v4/widget/PopupMenuCompat$KitKatPopupMenuImpl.class...
    processing android/support/v4/widget/ViewDragHelper.class...
    processing android/support/v4/widget/SwipeRefreshLayout$BaseAnimationListener.class...
    processing android/support/v4/widget/SlidingPaneLayout$SlidingPanelLayoutImplJB.class...
    processing android/support/v4/widget/ResourceCursorAdapter.class...
    processing android/support/v4/widget/SwipeRefreshLayout$3.class...
    processing android/support/v4/widget/DrawerLayout$ChildAccessibilityDelegate.class...
    processing android/support/v4/widget/SwipeRefreshLayout$2.class...
    processing android/support/v4/widget/SearchViewCompatIcs$MySearchView.class...
    processing android/support/v4/widget/AutoScrollHelper.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatImpl.class...
    processing android/support/v4/widget/ScrollerCompat.class...
    processing android/support/v4/widget/DrawerLayout$LayoutParams.class...
    processing android/support/v4/widget/EdgeEffectCompatIcs.class...
    processing android/support/v4/widget/SearchViewCompatHoneycomb$2.class...
    processing android/support/v4/widget/SearchViewCompat$OnCloseListenerCompat.class...
    processing android/support/v4/widget/SwipeRefreshLayout$1.class...
    processing android/support/v4/widget/DrawerLayout$EdgeGravity.class...
    processing android/support/v4/widget/CursorFilter.class...
    processing android/support/v4/widget/ListPopupWindowCompat$BaseListPopupWindowImpl.class...
    processing android/support/v4/widget/ScrollerCompat$ScrollerCompatImplIcs.class...
    processing android/support/v4/widget/ViewDragHelper$Callback.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatStubImpl.class...
    processing android/support/v4/widget/BakedBezierInterpolator.class...
    processing android/support/v4/widget/SlidingPaneLayout.class...
    processing android/support/v4/widget/SlidingPaneLayout$DisableLayerRunnable.class...
    processing android/support/v4/widget/ViewDragHelper$2.class...
    processing android/support/v4/widget/DrawerLayout$ViewDragCallback$1.class...
    processing android/support/v4/widget/ContentLoadingProgressBar$1.class...
    processing android/support/v4/widget/ContentLoadingProgressBar.class...
    processing android/support/v4/widget/SlidingPaneLayout$AccessibilityDelegate.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatHoneycombImpl$1.class...
    processing android/support/v4/widget/SearchViewCompat$OnQueryTextListenerCompat.class...
    processing android/support/v4/widget/EdgeEffectCompat$EdgeEffectIcsImpl.class...
    processing android/support/v4/widget/DrawerLayout$DrawerListener.class...
    processing android/support/v4/widget/SearchViewCompatHoneycomb$1.class...
    processing android/support/v4/widget/AutoScrollHelper$ScrollAnimationRunnable.class...
    processing android/support/v4/widget/DrawerLayout$AccessibilityDelegate.class...
    processing android/support/v4/widget/ScrollerCompatGingerbread.class...
    processing android/support/v4/widget/PopupMenuCompat$BasePopupMenuImpl.class...
    processing android/support/v4/widget/EdgeEffectCompat.class...
    processing android/support/v4/widget/SlidingPaneLayout$SlidingPanelLayoutImplBase.class...
    processing android/support/v4/widget/SwipeProgressBar.class...
    processing android/support/v4/widget/SlidingPaneLayout$1.class...
    processing android/support/v4/widget/PopupMenuCompatKitKat.class...
    processing android/support/v4/widget/ExploreByTouchHelper.class...
    processing android/support/v4/widget/ListPopupWindowCompatKitKat.class...
    processing android/support/v4/widget/SlidingPaneLayout$SlidingPanelLayoutImplJBMR1.class...
    processing android/support/v4/widget/CursorAdapter.class...
    processing android/support/v4/widget/ScrollerCompat$ScrollerCompatImplBase.class...
    processing android/support/v4/widget/EdgeEffectCompat$BaseEdgeEffectImpl.class...
    processing android/support/v4/widget/CursorFilter$CursorFilterClient.class...
    processing android/support/v4/widget/SearchViewCompatHoneycomb$OnQueryTextListenerCompatBridge.class...
    processing android/support/v4/widget/SlidingPaneLayout$SlidingPanelLayoutImpl.class...
    processing android/support/v4/widget/DrawerLayout$SavedState.class...
    processing android/support/v4/widget/DrawerLayout$ViewDragCallback.class...
    processing android/support/v4/widget/ListPopupWindowCompat$KitKatListPopupWindowImpl.class...
    processing android/support/v4/widget/ListPopupWindowCompat$ListPopupWindowImpl.class...
    processing android/support/v4/widget/SwipeRefreshLayout$4.class...
    processing android/support/v4/widget/ListViewAutoScrollHelper.class...
    processing android/support/v4/widget/SearchViewCompat$SearchViewCompatIcsImpl.class...
    processing android/support/v4/widget/DrawerLayout$SimpleDrawerListener.class...
    processing android/support/v4/widget/SearchViewCompatHoneycomb.class...
    processing android/support/v4/widget/SlidingPaneLayout$SimplePanelSlideListener.class...
    processing android/support/v4/widget/SwipeRefreshLayout$6.class...
    processing android/support/v4/widget/DrawerLayout$LockMode.class...
    processing android/support/v4/widget/PopupMenuCompat$PopupMenuImpl.class...
    processing android/support/v4/widget/CursorAdapter$MyDataSetObserver.class...
    processing android/support/v4/widget/SimpleCursorAdapter$ViewBinder.class...
    processing android/support/v4/widget/ScrollerCompat$ScrollerCompatImplGingerbread.class...
    processing android/support/v4/widget/SimpleCursorAdapter.class...
    processing android/support/v4/widget/AutoScrollHelper$1.class...
    processing android/support/v4/widget/CursorAdapter$ChangeObserver.class...
    processing android/support/v4/widget/PopupMenuCompat.class...
    processing android/support/v4/widget/DrawerLayout.class...
    processing android/support/v4/widget/SearchViewCompat.class...
    processing android/support/v4/widget/ScrollerCompat$ScrollerCompatImpl.class...
    processing android/support/v4/widget/SlidingPaneLayout$LayoutParams.class...
    processing android/support/v4/widget/CursorAdapter$1.class...
    processing android/support/v4/widget/ContentLoadingProgressBar$2.class...
    processing android/support/v4/widget/SlidingPaneLayout$SavedState.class...
    processing android/support/v4/widget/ViewDragHelper$1.class...
    processing android/support/v4/widget/ExploreByTouchHelper$ExploreByTouchNodeProvider.class...
    processing android/support/v4/widget/SearchViewCompatHoneycomb$OnCloseListenerCompatBridge.class...
    processing android/support/v4/widget/SwipeRefreshLayout$5.class...
    processing android/support/v4/widget/SearchViewCompatIcs.class...
    processing android/support/v4/widget/ScrollerCompatIcs.class...
    processing android/support/v4/media/TransportMediator$2.class...
    processing android/support/v4/media/TransportMediatorJellybeanMR2$1.class...
    processing android/support/v4/media/TransportController.class...
    processing android/support/v4/media/TransportMediatorJellybeanMR2.class...
    processing android/support/v4/media/TransportPerformer.class...
    processing android/support/v4/media/TransportMediator.class...
    processing android/support/v4/media/TransportMediator$1.class...
    processing android/support/v4/media/TransportMediatorJellybeanMR2$4.class...
    processing android/support/v4/media/TransportMediatorJellybeanMR2$3.class...
    processing android/support/v4/media/TransportStateListener.class...
    processing android/support/v4/media/TransportMediatorJellybeanMR2$2.class...
    processing android/support/v4/media/TransportMediatorCallback.class...
    processing android/support/v4/os/EnvironmentCompatKitKat.class...
    processing android/support/v4/os/EnvironmentCompat.class...
    processing android/support/v4/os/ParcelableCompatCreatorHoneycombMR2Stub.class...
    processing android/support/v4/os/ParcelableCompatCreatorCallbacks.class...
    processing android/support/v4/os/ParcelableCompatCreat<message truncated>
     
  5. avorobjev

    avorobjev

    Joined:
    Apr 3, 2014
    Posts:
    8
    I had the same problem. I had 2 instances originally google-play-services.jar. I removed one, and the problem went away.
     
  6. Mohammad-Faisal-Aleem

    Mohammad-Faisal-Aleem

    Joined:
    Jun 22, 2015
    Posts:
    9
    Delete duplicate jar files in your project. It will solve the issue.

    In my case I deleted android-support-v4.jar and bolts-android-1.1.2.jar. It solved the issue.
     
  7. Armend

    Armend

    Joined:
    Aug 8, 2015
    Posts:
    7
    I've added the Facebook API and it has his own "android-support-v4" so i had 2 android-support-v4 jars. I've deleted the one from facebook and now it works just fine.
     
  8. TheAngrycrow

    TheAngrycrow

    Joined:
    Jun 16, 2013
    Posts:
    12
    THIS IS EXACTLY WHAT I THOUGHT THE PROBLEM WAS>> JUST HAVE TO FIGURE OUT WHERE THE HECK THAT FILE IS! You're brilliant! Thanks.
     
  9. minafaw

    minafaw

    Joined:
    Jul 26, 2015
    Posts:
    1
    For me I create new project , re-import my scenes & oculus sdk
    hope this help
     
  10. game-dev333

    game-dev333

    Joined:
    Jan 11, 2014
    Posts:
    4
    basically issue arises when you have more than one plugin.
    Make sure to keep backup before you include any plugin.
    take a screenshot before importing any assets (that will show you which files were included).
    make sure you have no duplicated jar files.
    make sure you have only one manifest file (in one folder).
    If you have more than one manifest file, combine them.
    If you can not combine them , they will not work.
    Do not include more than one plugin at a time.
    Include one plugin, build and run (in all platform), then go for second.
    I hope this will help.
    Thanks
     
  11. Hoaipv

    Hoaipv

    Joined:
    Aug 31, 2015
    Posts:
    1
    Try:
    Delete the files in Android/libs directory that overlap with other libs file in other Plugin.
     
  12. holczhauser

    holczhauser

    Joined:
    Sep 7, 2015
    Posts:
    2
    solved for me,thx!
     
  13. alti

    alti

    Joined:
    Jan 8, 2014
    Posts:
    49
    For me, this happened because soomla created an AndroidStoreGooglePlay.jar, and I assume google play services did the same.

    Soomla's is located here:
    assets / webplayerTemplates / soomla config / android / android billing services / google play

    Google Play's is located here:
    assets / plugins / android

    I removed the one from google play, and my APK built. I'm assuming I'll need the one from soomla in the long run, since I'm not using GPGS to buy anything.
     
  14. NguyenLuan

    NguyenLuan

    Joined:
    Oct 16, 2015
    Posts:
    1
    Help me. i dont know how to resolve this error. Thanks
    Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.
    C:/Program Files/Java/jdk1.7.0_79\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/Android/android-sdk\tools" -Dfile.encoding=UTF8 -jar "D:/Progam files/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -

    stderr[
    Error: [Temp\StagingArea\AndroidManifest-main.xml:33, C:\Users\NguyenLuan1192\Desktop\Fix Farm\Farm Business Unity\Farm\Temp\StagingArea\android-libraries\GoogleMobileAdsPlugin\AndroidManifest.xml:12] Trying to merge incompatible /manifest/application/activity[@name=com.google.android.gms.ads.AdActivity] element:
    <activity
    -- @android:name="com.google.android.gms.ads.AdActivity"
    -- @android:theme="@android:style/Theme.Translucent">
    --</activity>
    <activity
    ++ @android:name="com.google.android.gms.ads.AdActivity">
    ++</activity>
    ++(end reached)
    ]
    stdout[
    [Temp\StagingArea\AndroidManifest-main.xml:36, C:\Users\NguyenLuan1192\Desktop\Fix Farm\Farm Business Unity\Farm\Temp\StagingArea\android-libraries\GoogleMobileAdsPlugin\AndroidManifest.xml:10] Skipping identical /manifest/application/meta-data[@name=com.google.android.gms.version] element.
     
  15. RebelFuture

    RebelFuture

    Joined:
    Nov 28, 2012
    Posts:
    7
    Damn, this took me a long time.

    I'm using 6 Prime31 Plugins and a OneSignal Plugin along with iTween.

    I had two files named "android-support-v4" and one more file named "android-support-v5".

    I deleted both of the files that were named "android-support-v4" and suddenly it built.
     
  16. retox

    retox

    Joined:
    Sep 12, 2012
    Posts:
    29
    This caused me no end of issues, errors such as

    Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/qualcomm/QCARUnityPlayer/DebugLog;

    As most people here said that duplicate files caused the problem I used the file search using '1' and any duplicate files were quickly located. I removed them and managed to build out with no problems.
     
  17. wdruryzynga

    wdruryzynga

    Joined:
    Jan 29, 2015
    Posts:
    1
    The error:

    CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.

    /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/wdrury/Downloads/android-sdk-macosx/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity_5.2.2/Unity.app/Contents/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -

    stderr[
    UNEXPECTED TOP-LEVEL EXCEPTION:
    java.lang.IllegalArgumentException: already added: Landroid/support/annotation/IdRes;

    I am using the Facebook Unity SDK 7.2.2 package and the Prime31 EtceteraAndroid 2.11 package. Facebook created
    Assets/Plugins/Android/libs/android-support-v4.jar, and EtceteraAndroid created Assets/Plugins/Android/libs/android-support-v5.jar. They had duplicate classes, as the error message suggests. Removing android-support-v4.jar solved the build problem and Facebook seems to be working fine with the later version of the .jar file.
     
    Last edited: Nov 19, 2015
  18. bowlercaptain

    bowlercaptain

    Joined:
    Feb 21, 2013
    Posts:
    2
    Recently had and fixed this problem: Heyzap managing Unity ads wanted a version of the plugin to be imported into the project. If you also have Unity Ads enabled through the "services" pane, Unity invisibly inserts an extra copy of the jar into the project right before the build, so you can't search it out and delete it, you just have to disable Unity Ads from the services pane. I suspect you could also get Heyzap to recognize the services version and delete the plugin, but I have spent too many hours on this problem now to find out.
     
  19. HardikMaru2001

    HardikMaru2001

    Joined:
    Feb 1, 2016
    Posts:
    2
    SOLVED ANOTHER INNER ISSUE

    I was also facing the same issue when I use Admob and Google Analytics. I have searched for same .jar file but my project was not containing any similar *.jar file. So after searching a lot I found the solution for my problem here.

    The problem for me was with class named "Command$1.class" and "Command.class", these both class were already added while compiling and was being added again due to another .jar file which also have the same class files. So what I do is I open the libGoogleAnalyticsServices.jar through WinRAR and delete both class files and then I try to build and build was SUCCESSFUL.

    You can figure out what class files are causing problem for you, and can delete it. But DO REMEMBER TO KEEP THE BACKUP OF THE .JAR FILE FIRST. ;)
     
    gdp2 likes this.
  20. MikePanoff

    MikePanoff

    Joined:
    Apr 29, 2015
    Posts:
    20
    I got this when upgrading to 5.3

    I was using a 3rd party in-app-purchase plugin, but then switched to Unity. I removed the old plugin but had to manually remove the .jar file from Assets/Plugins/Android.

    That fixed it for me.
     
  21. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,682
    more errors...
    Delete one of the 2 "v4" file for android-support
    (Mini project with Facebook + GooglePlayGames)
     

    Attached Files:

  22. darawsheh

    darawsheh

    Joined:
    Jan 24, 2015
    Posts:
    1
    The only issue bro that when you tried to import your new .jar files you have a doublicated jar file
    search for *.js files and you will find two files in the same name

    best regards
     
  23. pigmon

    pigmon

    Joined:
    Jan 29, 2014
    Posts:
    1
    I fixed this error by deleting Assets\Plugins\Android\libs\classes.jar.
     
  24. vama89

    vama89

    Joined:
    Nov 15, 2015
    Posts:
    1
    I just wanted to help those out with the same problem. Granted, I didn't get it solved but just wanted to share "some" kind of "help." I made some "progress." Anyways...

    This is coming from a dude trying to build something on the Ouya. Just FYI.

    I downloaded the Unity 2d Demo from the Vimeo tutorial.

    Within the Unity 2d demo, if you take out the package, OuyaUnityPlugin.jar from Assets>Plugins>Android, it would compile my build without the "convert classes to dex format error" everyone is getting above. I have no idea why.

    Also to any other poor blokes out there, I DID NOT have any duplicates. I get the error where it says that "it has already loaded X" and I couldn't find duplicate jars that everyone suggests in this forum. I don't know why taking out that Plugin in particular completes the build, but it has something to do with duplicate libraries being loaded in that jar or java(precompiled) file. I don't have dup jars, but I'm sure there is double loading of a library or package WITHIN the jar.

    The thing is, when it did compile, it would not play on the unity. It'd successfully push to the Ouya, but it wouldn't play correctly. Close but no cigar.

    Any Unity package from Ouya (any core package) will not allow me to play on the Ouya. I have to build an application from scratch for the android.

    With all the hours of debugging I did, I tend to think it has to do something with some java file importing a library more than once, but I couldn't find it. I just gave up.

    So for those that could not find a duplicate .jar file, check for such a Unity Plugin in the Plugins folder. That is your best shot.

    Aright, that is my pro-bono work for the week. God speed with you all and this STUPID freaking error. Hopefully the computer compiling gods may shine down upon me now for sharing some information.

    Best of luck y'all!
     
  25. davidftimh

    davidftimh

    Joined:
    Apr 5, 2016
    Posts:
    1
    In my case, it's caused by the last version of java. At the beginning, I was using Java 1.8. So I change to the older version such as Java 1.6, then it works. Hopefully, this could help you.
     
  26. j0k

    j0k

    Joined:
    Jan 2, 2015
    Posts:
    4
  27. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,712
    I had this error when using both admob and google play games. I advise you re-install the Google plugins and make sure they are the latest version.
     
  28. GAMEDEVBROS

    GAMEDEVBROS

    Joined:
    Aug 31, 2015
    Posts:
    4
    Hello, i have the same error as you guys seem to have had and solved by deleting duplicates of jar files and/or classes. But its showing me that my already added classes and jar files are in my temp folder and i can't delete my temp folder when its open in unity and when i close unity the temp file is no more. But when i open unity back up it shows the temp folder again. Someone please help me.:confused::(:confused:
     
    Last edited: May 13, 2016
  29. pellet

    pellet

    Joined:
    Jun 7, 2016
    Posts:
    1
    My problem turned out to be due to Unity using Java 1.7 instead of Java 1.8. I fixed it by exporting to an eclipse project which showed me a more descriptive error. I then realised the problem and deleted the JRE 1.7 VM and restarted unity, it then asked for my Java home and I pointed it to the Java 1.8 home. If I restore JRE 1.7 it should continue to work fine since it is now pointing to JRE 1.8.
     
  30. ksky

    ksky

    Joined:
    Jun 20, 2016
    Posts:
    1
    Nowdays,I met the same problem,I try change the file "Plugins/Android",I find the file include two "*.jar" packages, I delete one,The question is over.
     
  31. JeffersonTD

    JeffersonTD

    Joined:
    Feb 5, 2013
    Posts:
    265
    There has to be some smart and somewhat easy way of finding where the duplicates reside, right?

    In general the whole plugin handling seems like a really messy business. As most packages that you import have stuff put into 2-3 locations out of which only perhaps 1 is clearly dedicated to that package, how should one be able to keep track of what's part of what? And then as you update some package with a new version the locations might be again different. And then when you import something new and you get the dex format error how should one know what .jar (or part of a jar?!) shouldn't be a part of the project?

    ed: okay, I think I got this fixed for now. Two duplicate .jars there were.
     
    Last edited: Jun 21, 2016
  32. Dumblegore

    Dumblegore

    Joined:
    Feb 3, 2016
    Posts:
    2
    I solved this by deleting the Plugins/Android package and reimporting the custom package again.
     
  33. bmperrea

    bmperrea

    Joined:
    Aug 9, 2016
    Posts:
    1
    I updated my Java Development Kt and it fixed the issue. The new JDK can be linked in
    Edit > Preferences > External Tools > JDK
     
    bagoesz21 likes this.
  34. senordiablo

    senordiablo

    Joined:
    Apr 3, 2013
    Posts:
    6
    Yep updating the new JDK worked for me too thanks for that
     
  35. diyoyo

    diyoyo

    Joined:
    Aug 13, 2016
    Posts:
    1
    I had the same error and actually, it was a problem of JDK. I don't know how, but I had plenty of different JDKs in my /Library/Java/JavaVirtualMachines folder on Mac. And it happens that Unity was using the 1.7. I removed them all except the latest release, and then told Unity where to find it during next build. And it worked like a charm :D
     
  36. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,504
    This issue can have a few different causes (some were mentioned - such as incompatible JDK installed or conflicting plugin libraries).

    If you already tried all suggested solutions and still nothing works - I offer my help and experience of dealing with many of these issues. Please visit this link for more information.
     
  37. tungnguyendev

    tungnguyendev

    Joined:
    Mar 26, 2014
    Posts:
    13
    Hi,
    Like tolosaoldfan, I deleted the android-support-v4 lib and it solved the issue. Try it.

    Thanks !
     
  38. TariqKhan

    TariqKhan

    Joined:
    Oct 21, 2016
    Posts:
    1
    yup, remove duplicates: probably: support files: do type in project and remove one.
     
  39. shawnzhang

    shawnzhang

    Joined:
    Nov 9, 2014
    Posts:
    1
    I had fixed the problem. I download Android SDK from https://developer.android.com/studio/index.html and add the sdk to unity preferences setting other than add the Android SDK form Android Studio SDK folder, and it works very well.
     
  40. plysaght47

    plysaght47

    Joined:
    Jul 2, 2015
    Posts:
    21
    My solution, probably not ideal but I just deleted all plugins, uninstalled packages and then reinstalled everything. Took a total of 5 minutes and everything was back to working.
     
  41. domuzx

    domuzx

    Joined:
    Nov 2, 2016
    Posts:
    1
    i try to update my jdk 1.7 to jdk 1.8 and it's work... now i can build my apk without build failure dex format notice......:)
     
  42. uspdev

    uspdev

    Joined:
    Sep 29, 2016
    Posts:
    5
    I just change JDK version from 7.1 to 8.1 and restart unity Work again!!!
     
  43. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,504
    Some of the "fixes" in this post will not work for all.

    If you already tried all suggested solutions and still nothing works - I can help you out by looking at the issue myself. Please contact me through this link for more information.
     
  44. icslearninggroup

    icslearninggroup

    Joined:
    Nov 3, 2016
    Posts:
    2
    Thanks to all who posted here. I had this issue and wasted hours trying to figure out where the conflict was, but FINALLY I solved it. I already had the Facebook SDK installed, plus another app called GalleryScreenshot that were both working fine. Added a 3rd plugin and got the dex error on publish.

    That final plugin added a "libs" folder to my "Assets/Plugins/Android" folder, and inside was "support-v4-24.0.0.aar" (and "support-v4-24.0.0.aar.meta"). I found a "support-v4-23.4.0.aar" in "Assets\FacebookSDK\Plugins\Android\libs", which explains where the conflict was. So, I just removed the 24.0.0 one and the issue disappeared.

    Hope this helps someone.
     
  45. CrisDeveloper

    CrisDeveloper

    Joined:
    Oct 26, 2016
    Posts:
    1
    Thanks to all. I had the same issue. I have GooglePlayGames and FacebookSDK plugins, I solved it by deleting "support-annotations-23.4.0.jar" and "support-v4-23.4.0.aar" from folder FacebookSDK/Plugins/Android/libs.

    Hope this helps someone! :)
     
  46. CoopOwnz

    CoopOwnz

    Joined:
    Oct 6, 2016
    Posts:
    74
    This whole setup was annoying for Facebook SDK and Firebase Auth SDK. The duplicate files were two support files in each Android directory for firebase and facebook. Deleted the facebook support files because they had an older version on them and it finally build.
     
  47. Ondy

    Ondy

    Joined:
    Dec 10, 2014
    Posts:
    1
    Hi all, I had Facebook SDK and AdMob plugin installed, so I got this error. There were no identical files, but I managed to get rid of the error by disabling the Facebook's android-support-v4.jar on Android platform, by locating it in Unity project browser (Plugins/Android/libs), clicking on it and removing the checkbox next to Android. Then clicking apply. Projects builds without errors now.

    Thanks to everybody posting here to get me on the right track, otherwise I would never know what to look for.
     
    Amirraza likes this.
  48. Grebenicharska

    Grebenicharska

    Joined:
    Apr 5, 2016
    Posts:
    4
    Can you help me with this please? I really got stuck on this problem!


    CommandInvokationFailure: Unable to convert classes into dex format. C:\Program Files\Java\jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/Virginia/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

    stderr[ Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoJellyBeanMr2; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoStubImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorCompatHelper; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorListenerCompat;

    UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: Translation has been interrupted at com.android.dx.command.dexer.Main.processAllFiles(Main.java:613) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) at com.android.dx.command.dexer.Main.run(Main.java:277) at com.android.dx.command.dexer.Main.main(Main.java:245) at com.android.dx.command.Main.main(Main.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at SDKMain.main(SDKMain.java:129) Caused by: java.lang.InterruptedException: Too many errors at com.android.dx.command.dexer.Main.processAllFiles(Main.java:605) ... 9 more ] stdout[ processing archive C:\xampp\htdocs\Holy Bible Quiz\Temp\StagingArea\android-libraries\ads-release\libs.\classes.jar... processing com/facebook/ads/AbstractAdListener.class... processing com/facebook/ads/Ad.class... processing com/facebook/ads/AdChoicesView.class... processing com/facebook/ads/AdChoicesView$1.class... processing com/facebook/ads/AdChoicesView$2.class... processing com/facebook/ads/AdChoicesView$3.class... processing com/facebook/ads/AdChoicesView$3$1.class... processing com/facebook/ads/AdChoicesView$3$1$1.class... processing com/facebook/ads/AdError.class... processing com/facebook/ads/AdListener.class... processing com/facebook/ads/AdNetwork.class... processing com/facebook/ads/AdSettings.class... processing com/facebook/ads/AdSize.class... processing com/facebook/ads/AdView.class... processing com/facebook/ads/AdView$1.class... processing com/facebook/ads/AudienceNetworkActivity.class... processing com/facebook/ads/AudienceNetworkActivity$1.class... processing com/facebook/ads/AudienceNetworkActivity$2.class... processing com/facebook/ads/AudienceNetworkActivity$3.class... processing com/facebook/ads/AudienceNetworkActivity$4.class... processing com/facebook/ads/AudienceNetworkActivity$5.class... processing com/facebook/ads/AudienceNetworkActivity$BackButtonInterceptor.class... processing com/facebook/ads/AudienceNetworkActivity$Type.class... processing com/facebook/ads/BuildConfig.class... processing com/facebook/ads/ImpressionListener.class... processing com/facebook/ads/InstreamVideoAdListener.class... processing com/facebook/ads/InstreamVideoAdView.class... processing com/facebook/ads/InstreamVideoAdView$1.class... processing com/facebook/ads/InstreamVideoAdView$2.class... processing com/facebook/ads/InterstitialAd.class... processing com/facebook/ads/InterstitialAd$1.class... processing com/facebook/ads/InterstitialAdActivity.class... processing com/facebook/ads/InterstitialAdListener.class... processing com/facebook/ads/MediaView.class... processing com/facebook/ads/MediaViewListener.class... processing com/facebook/ads/NativeAd.class... processing com/facebook/ads/NativeAd$1.class... processing com/facebook/ads/NativeAd$2.class... processing com/facebook/ads/NativeAd$3.class... processing com/facebook/ads/NativeAd$4.class... processing com/facebook/ads/NativeAd$5.class... processing com/facebook/ads/NativeAd$Image.class... processing com/facebook/ads/NativeAd$MediaCacheFlag.class... processing com/facebook/ads/NativeAd$Rating.class... processing com/facebook/ads/NativeAd$a.class... processing com/facebook/ads/NativeAd$b.class... processing com/facebook/ads/NativeAd$c.class... processing com/facebook/ads/NativeAdScrollView.class... processing com/facebook/ads/NativeAdScrollView$AdViewProvider.class... processing com/facebook/ads/NativeAdScrollView$a.class... processing com/facebook/ads/NativeAdScrollView$b.class... processing com/facebook/ads/NativeAdView.class... processing com/facebook/ads/NativeAdView$Type.class... processing com/facebook/ads/NativeAdViewAttributes.class... processing com/facebook/ads/NativeAdsManager.class... processing com/facebook/ads/NativeAdsManager$1.class... processing com/facebook/ads/NativeAdsManager$1$1.class... processing com/facebook/ads/NativeAdsManager$Listener.class... processing com/facebook/ads/a/a.class... processing com/facebook/ads/internal/AdErrorType.class... processing com/facebook/ads/internal/AdSdkVersion.class... processing com/facebook/ads/internal/DisplayAdController.class... processing com/facebook/ads/internal/DisplayAdController$1.class... processing com/facebook/ads/internal/DisplayAdController$10.class... processing com/facebook/ads/internal/DisplayAdController$11.class... processing com/facebook/ads/internal/DisplayAdController$2.class... processing com/facebook/ads/internal/DisplayAdController$3.class... processing com/facebook/ads/internal/DisplayAdController$4.class... processing com/facebook/ads/internal/DisplayAdController$5.class... processing com/facebook/ads/internal/DisplayAdController$6.class... processing com/facebook/ads/internal/DisplayAdController$7.class... processing com/facebook/ads/internal/DisplayAdController$8.class... processing com/facebook/ads/internal/DisplayAdController$9.class... processing com/facebook/ads/internal/DisplayAdController$a.class... processing com/facebook/ads/internal/DisplayAdController$b.class... processing com/facebook/ads/internal/DisplayAdController$c.class... processing com/facebook/ads/internal/a.class... processing com/facebook/ads/internal/a/a.class... processing com/facebook/ads/internal/a/b.class... processing com/facebook/ads/internal/a/c.class... processing com/facebook/ads/internal/a/d.class... processing com/facebook/ads/internal/a/e.class... processing com/facebook/ads/internal/adapters/AdAdapter.class... processing com/facebook/ads/internal/adapters/BannerAdapter.class... processing com/facebook/ads/internal/adapters/BannerAdapterListener.class... processing com/facebook/ads/internal/adapters/InterstitialAdapter.class... processing com/facebook/ads/internal/adapters/InterstitialAdapterListener.class... processing com/facebook/ads/internal/adapters/a.class... processing com/facebook/ads/internal/adapters/b.class... processing com/facebook/ads/internal/adapters/c.class... processing com/facebook/ads/internal/adapters/c$1.class... processing com/facebook/ads/internal/adapters/c$2.class... processing com/facebook/ads/internal/adapters/c$3.class... processing com/facebook/ads/internal/adapters/c$4.class... processing com/facebook/ads/internal/adapters/d.class... processing com/facebook/ads/internal/adapters/d$1.class... processing com/facebook/ads/internal/adapters/e.class... processing com/facebook/ads/internal/adapters/f.class... processing com/facebook/ads/internal/adapters/g.class... processing com/facebook/ads/internal/adapters/g$1.class... processing com/facebook/ads/internal/adapters/h.class... processing com/facebook/ads/internal/adapters/h$1.class... processing com/facebook/ads/internal/adapters/h$2.class... processing com/facebook/ads/internal/adapters/i.class... processing com/facebook/ads/internal/adapters/i$1.class... processing com/facebook/ads/internal/adapters/i$2.class... processing com/facebook/ads/internal/adapters/i$3.class... processing com/facebook/ads/internal/adapters/i$4.class... processing com/facebook/ads/internal/adapters/j.class... processing com/facebook/ads/internal/adapters/j$1.class... processing com/facebook/ads/internal/adapters/j$a.class... processing com/facebook/ads/internal/adapters/k.class... processing com/facebook/ads/internal/adapters/k$1.class... processing com/facebook/ads/internal/adapters/k$2.class... processing com/facebook/ads/internal/adapters/l.class... processing com/facebook/ads/internal/adapters/l$1.class... processing com/facebook/ads/internal/adapters/m.class... processing com/facebook/ads/internal/adapters/m$1.class... processing com/facebook/ads/internal/adapters/n.class... processing com/facebook/ads/internal/adapters/o.class... processing com/facebook/ads/internal/adapters/o$1.class... processing com/facebook/ads/internal/adapters/p.class... processing com/facebook/ads/internal/adapters/p$1.class... processing com/facebook/ads/internal/adapters/q.class... processing com/facebook/ads/internal/adapters/r.class... processing com/facebook/ads/internal/adapters/s.class... processing com/facebook/ads/internal/adapters/t.class... processing com/facebook/ads/internal/adapters/u.class... processing com/facebook/ads/internal/adapters/v.class... processing com/facebook/ads/internal/adapters/w.class... processing com/facebook/ads/internal/b.class... processing com/facebook/ads/internal/b/a.class... processing com/facebook/ads/internal/b/b.class... processing com/facebook/ads/internal/b/c.class... processing com/facebook/ads/internal/b/c$a.class... processing com/facebook/ads/internal/b/d.class... processing com/facebook/ads/internal/b/e.class... processing com/facebook/ads/internal/c.class... processing com/facebook/ads/internal/c/a.class... processing com/facebook/ads/internal/c/b.class... processing com/facebook/ads/internal/c/b$1.class... processing com/facebook/ads/internal/c/b$1$1.class... processing com/facebook/ads/internal/c/b$a.class... processing com/facebook/ads/internal/c/b$b.class... processing com/facebook/ads/internal/c/c.class... processing com/facebook/ads/internal/c/d.class... processing com/facebook/ads/internal/c/d$1.class... processing com/facebook/ads/internal/d.class... processing com/facebook/ads/internal/d/a.class... processing com/facebook/ads/internal/d/b.class... processing com/facebook/ads/internal/d/c.class... processing com/facebook/ads/internal/d/d.class... processing com/facebook/ads/internal/d/d$1.class... processing com/facebook/ads/internal/d/d$2.class... processing com/facebook/ads/internal/d/e.class... processing com/facebook/ads/internal/d/f.class... processing com/facebook/ads/internal/d/f$a.class... processing com/facebook/ads/internal/d/g.class... processing com/facebook/ads/internal/d/h.class... processing com/facebook/ads/internal/d/i.class... processing com/facebook/ads/internal/e.class... processing com/facebook/ads/internal/e/a.class... processing com/facebook/ads/internal/e/b.class... processing com/facebook/ads/internal/e/c.class... processing com/facebook/ads/internal/e/c$1.class... processing com/facebook/ads/internal/e/d.class... processing com/facebook/ads/internal/e/e.class... processing com/facebook/ads/internal/e/f.class... processing com/facebook/ads/internal/e/f$1.class... processing com/facebook/ads/internal/e/f$2.class... processing com/facebook/ads/internal/e/g.class... processing com/facebook/ads/internal/e/h.class... processing com/facebook/ads/internal/e/i.class... processing com/facebook/ads/internal/f.class... processing com/facebook/ads/internal/f/a.class... processing com/facebook/ads/internal/f/b.class... processing com/facebook/ads/internal/f/c.class... processing com/facebook/ads/internal/f/d.class... processing com/facebook/ads/internal/f/e.class... processing com/facebook/ads/internal/f/e$1.class... processing com/facebook/ads/internal/f/e$1$1.class... processing com/facebook/ads/internal/f/e$a.class... processing com/facebook/ads/internal/f/f.class... processing com/facebook/ads/internal/f/f$1.class... processing com/facebook/ads/internal/f/g.class... processing com/facebook/ads/internal/f/h.class... processing com/facebook/ads/internal/f/i.class... processing com/facebook/ads/internal/f/j.class... processing com/facebook/ads/internal/f/k.class... processing com/facebook/ads/internal/f/l.class... processing com/facebook/ads/internal/f/m.class... processing com/facebook/ads/internal/f/n.class... processing com/facebook/ads/internal/f/o.class... processing com/facebook/ads/internal/f/p.class... processing com/facebook/ads/internal/f$1.class... processing com/facebook/ads/internal/f$a.class... processing com/facebook/ads/internal/f$b.class... processing com/facebook/ads/internal/f$c.class... processing com/facebook/ads/internal/g.class... processing com/facebook/ads/internal/g/a.class... processing com/facebook/ads/internal/g/a$1.class... processing com/facebook/ads/internal/h.class... processing com/facebook/ads/internal/h/a/a.class... processing com/facebook/ads/internal/h/a/a$1.class... processing com/facebook/ads/internal/h/a/b.class... processing com/facebook/ads/internal/h/a/c.class... processing com/facebook/ads/internal/h/a/d.class... processing com/facebook/ads/internal/h/a/e.class... processing com/facebook/ads/internal/h/a/f.class... processing com/facebook/ads/internal/h/a/g.class... processing com/facebook/ads/internal/h/a/h.class... processing com/facebook/ads/internal/h/a/i.class... processing com/facebook/ads/internal/h/a/j.class... processing com/facebook/ads/internal/h/a/k.class... processing com/facebook/ads/internal/h/a/l.class... processing com/facebook/ads/internal/h/a/m.class... processing com/facebook/ads/internal/h/a/n.class... processing com/facebook/ads/internal/h/a/o.class... processing com/facebook/ads/internal/h/a/p.class... processing com/facebook/ads/internal/h/a/q.class... processing com/facebook/ads/internal/h/a/r.class... processing com/facebook/ads/internal/h/b/a.class... processing com/facebook/ads/internal/h/b/a/a.class... processing com/facebook/ads/internal/h/b/a/b.class... processing com/facebook/ads/internal/h/b/a/c.class... processing com/facebook/ads/internal/h/b/a/d.class... processing com/facebook/ads/internal/h/b/a/d$1.class... processing com/facebook/ads/internal/h/b/a/d$a.class... processing com/facebook/ads/internal/h/b/a/e.class... processing com/facebook/ads/internal/h/b/a/e$a.class... processing com/facebook/ads/internal/h/b/a/f.class... processing com/facebook/ads/internal/h/b/a/g.class... processing com/facebook/ads/internal/h/b/b.class... processing com/facebook/ads/internal/h/b/c.class... processing com/facebook/ads/internal/h/b/d.class... processing com/facebook/ads/internal/h/b/e.class... processing com/facebook/ads/internal/h/b/f.class... processing com/facebook/ads/internal/h/b/f$1.class... processing com/facebook/ads/internal/h/b/f$a.class... processing com/facebook/ads/internal/h/b/f$b.class... processing com/facebook/ads/internal/h/b/f$c.class... processing com/facebook/ads/internal/h/b/f$d.class... processing com/facebook/ads/internal/h/b/f$e.class... processing com/facebook/ads/internal/h/b/g.class... processing com/facebook/ads/internal/h/b/g$a.class... processing com/facebook/ads/internal/h/b/h.class... processing com/facebook/ads/internal
     
  49. Grebenicharska

    Grebenicharska

    Joined:
    Apr 5, 2016
    Posts:
    4
    @CrisDeveloper Thank you so much!!! I tried and it really works!!!!!! Thank you an God Bless you all!!!! :)
     
  50. S42

    S42

    Joined:
    Feb 7, 2017
    Posts:
    1
    I spent a while trying to figure this out, it's more annoying as I only wanted to make some small changes.

    Cannot say that I got any sort of fix from deleting any JAR files as the bulk of the plugin is contained within these files, although it maybe plugin specific. Anyone who IS looking for these files, just type in *jar into the windows explorer of their project directory, this will search for files with .jar file extension. It is quite easy to find duplicates this way.

    Having read some of my debug messages, the errors were coming from my java folder, more specifically the JDK folder in my program files, from that I took a solid guess that the JDK might need updating as I had left the project for a few months.

    UPDATING JDK WORKED PERFECTLY as a few people have already said and it is my suggestion to try this is if anyone hasn't already.

    You need to update it manually in Unity as well as Unity will still be using your old JDK unless you tell it otherwise.

    Go to Edit -> Preferences -> External Tools -> look for the folder you installed your new JDK into and select it.

    My project worked after this so hopefully this helps someone else as well. :D
     
unityunity