java - Debugging a Unity Android "Unable to convert classes into dex format" error on build -


i've been having trouble doing unity android build because of these dex format errors.

i've looked @ similar errors people have had involving duplicate .jar files in unity project, i've removed culprits can find , still happening. updated unity facebook plugin , there several other plugins in project well, know prone have duplicate files.

i can see there lot of "illegal argument exception" added translations errors, i'm assuming getting referenced twice, can't figure out these "accessibility service" files are.

i'll admit rest of error i'm still trying figure out. i'm not super experienced java/android developer yet.

does know might wrong? or have ideas of how might go debugging error further?

error building player: commandinvokationfailure: unable convert classes dex format. see console details. /library/java/javavirtualmachines/jdk1.7.0_45.jdk/contents/home/bin/java -xmx2048m -dcom.android.sdkmanager.toolsdir="/users/admin/public_library/android/sdk/tools" -dfile.encoding=utf8 -jar "/applications/unity/unity.app/contents/buildtargettools/androidplayer/sdktools.jar" -  stderr[ uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompat; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompat$accessibilityserviceinfoicsimpl; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompat$accessibilityserviceinfojellybeanmr2; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompat$accessibilityserviceinfostubimpl; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompat$accessibilityserviceinfoversionimpl; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompatics; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/accessibilityservice/accessibilityserviceinfocompatjellybeanmr2; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/app/actionbardrawertoggle; uncaught translation error: java.lang.illegalargumentexception: added: landroid/support/v4/app/actionbardrawertoggle$1;  unexpected top-level exception: java.lang.runtimeexception: translation has been interrupted     @ com.android.dx.command.dexer.main.processallfiles(main.java:608)     @ com.android.dx.command.dexer.main.runmonodex(main.java:311)     @ com.android.dx.command.dexer.main.run(main.java:277)     @ com.android.dx.command.dexer.main.main(main.java:245)     @ com.android.dx.command.main.main(main.java:106)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ sdkmain.main(sdkmain.java:130) caused by: java.lang.interruptedexception: many errors     @ com.android.dx.command.dexer.main.processallfiles(main.java:600)     ... 9 more ] 

i wrong, looks still had duplicate .jar file in project. there 2 .jar files different names 2 different social plugins same functionality.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -