jar - I replaced google cardboard sdk with Google VR sdk and getting this famous error: unable to convert classes into dex format -
i have tried many solutions. searched *.jar files in project folder. there duplicate jar files. when delete duplicates mentioned in many solutions, , when tried build again duplicated files again created.
to exact here detailed error message:
commandinvokationfailure: unable convert classes dex format. c:\program files\java\jdk1.8.0_121\bin\java.exe -xmx2048m -dcom.android.sdkmanager.toolsdir="c:/users/ahsan naeem/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: added: lcom/google/protobuf/nano/codedinputbytebuffernano; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/codedoutputbytebuffernano; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/codedoutputbytebuffernano$outofspaceexception; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/extendablemessagenano; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/extension; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/extension$1; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/extension$primitiveextension; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/fieldarray; uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/protobuf/nano/fielddata; unexpected top-level exception: java.lang.runtimeexception: translation has been interrupted @ com.android.dx.command.dexer.main.processallfiles(main.java:613) @ 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:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ sdkmain.main(sdkmain.java:129) caused by: java.lang.interruptedexception: many errors @ com.android.dx.command.dexer.main.processallfiles(main.java:605) ... 9 more ] stdout[ processing archive d:\chutech\unity games\vrealizerstest\vrealizerstest\temp\stagingarea\android-libraries\gvr-permissionsupport-release\libs\.\classes.jar... processing com/google/gvr/permissionsupport/buildconfig.class... processing com/google/gvr/permissionsupport/permissionsfragment.class... processing com/google/gvr/permissionsupport/permissionsfragment$1.class... processing com/google/gvr/permissionsupport/permissionsfragment$permissionscallback.class... processing com/google/gvr/permissionsupport/transitionvractivity.class... processing com/google/gvr/permissionsupport/transitionvractivity$1.class... processing archive d:\chutech\unity games\vrealizerstest\vrealizerstest\temp\stagingarea\android-libraries\gvr_android_common\libs\.\classes.jar... ignored resource clearcut/ ignored resource clearcut/nano/ processing clearcut/nano/eventcodeenumproto.class... ignored resource com/ ignored resource com/google/ ignored resource com/google/common/ ignored resource com/google/common/logging/ ignored resource com/google/common/logging/nano/ processing com/google/common/logging/nano/vr.class... processing com/google/common/logging/nano/vr$vrevent.class... processing com/google/common/logging/nano/vr$vrevent$application.class... processing com/google/common/logging/nano/vr$vrevent$audiostats.class... processing com/google/common/logging/nano/vr$vrevent$audiostats$renderingmode.class... processing com/google/common/logging/nano/vr$vrevent$bucket.class... processing com/google/common/logging/nano/vr$vrevent$cyclops.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$capture.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$capture$outcome.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$share.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$share$type.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$sharestart.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$sharestart$originscreen.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$view.class... processing com/google/common/logging/nano/vr$vrevent$cyclops$view$orientation.class... processing com/google/common/logging/nano/vr$vrevent$doubleprecisiontransform.class... processing com/google/common/logging/nano/vr$vrevent$earthvr.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$actor.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$actor$controllerstate.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$actor$controllerstate$role.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$appstate.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$controllerstate.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$controllerstate$role.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$environment.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$menu.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$comfortmodestate.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$guestmode.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$humanscalemode.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$labelsstate.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$musicmode.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$preferences$startconfiguration.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$splashscreen.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$splashscreen$exittype.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$tour.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$tutorial.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$view.class... processing com/google/common/logging/nano/vr$vrevent$earthvr$view$mode.class... processing com/google/common/logging/nano/vr$vrevent$embedvrwidget.class... processing com/google/common/logging/nano/vr$vrevent$embedvrwidget$pano.class... processing com/google/common/logging/nano/vr$vrevent$embedvrwidget$stereoformat.class... processing com/google/common/logging/nano/vr$vrevent$embedvrwidget$video.class... processing com/google/common/logging/nano/vr$vrevent$embedvrwidget$viewmode.class... processing com/google/common/logging/nano/vr$vrevent$eventtype.class... processing com/google/common/logging/nano/vr$vrevent$gconfigupdate.class... processing com/google/common/logging/nano/vr$vrevent$gconfigupdate$gconfigvalue.class... processing com/google/common/logging/nano/vr$vrevent$headmount.class... processing com/google/common/logging/nano/vr$vrevent$histogrambucket.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$audiodetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$imagedetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$imageplaybackdetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$mediadetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$mediadetails$audiocodec.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$mediadetails$videocodec.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$pickerdetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$playbackdetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$playbackdetails$playbackengine.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$playbackdetails$playbackmode.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$playbackdetails$playbackstate.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$resolution.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$sphericalmetadata.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$sphericalmetadata$projectiontype.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$videodetails.class... processing com/google/common/logging/nano/vr$vrevent$jumpinspector$videoplaybackdetails.class... processing com/google/common/logging/nano/vr$vrevent$keyboard.class... processing com/google/common/logging/nano/vr$vrevent$keyboard$keyboardevent.class... processing com/google/common/logging/nano/vr$vrevent$keyboard$keyboardeventtype.class... processing com/google/common/logging/nano/vr$vrevent$keyboard$keyboardinputtype.class... processing com/google/common/logging/nano/vr$vrevent$keyboard$keyboardtextentry.class... processing com/google/common/logging/nano/vr$vrevent$keyboard$keyboardtexttype.class... processing com/google/common/logging/nano/vr$vrevent$launcher.class... processing com/google/common/logging/nano/vr$vrevent$launcher$navitem.class... processing com/google/common/logging/nano/vr$vrevent$lullaby.class... processing com/google/common/logging/nano/vr$vrevent$lullaby$loadtime.class... processing com/google/common/logging/nano/vr$vrevent$lullaby$loadtime$assettype.class... processing com/google/common/logging/nano/vr$vrevent$lullaby$uielement.class... processing com/google/common/logging/nano/vr$vrevent$performancestats.class... processing com/google/common/logging/nano/vr$vrevent$performancestats$thermaleventflags.class... processing com/google/common/logging/nano/vr$vrevent$photos.class... processing com/google/common/logging/nano/vr$vrevent$photos$openmedia.class... processing com/google/common/logging/nano/vr$vrevent$photos$openmedia$mediasource.class... processing com/google/common/logging/nano/vr$vrevent$photos$openmedia$mediatype.class... processing com/google/common/logging/nano/vr$vrevent$photos$warmwelcome.class... processing com/google/common/logging/nano/vr$vrevent$qrcodescan.class... processing com/google/common/logging/nano/vr$vrevent$qrcodescan$status.class... processing com/google/common/logging/nano/vr$vrevent$renderer.class... processing com/google/common/logging/nano/vr$vrevent$sdkconfigurationparams.class... processing com/google/common/logging/nano/vr$vrevent$sdkconfigurationparams$asyncreprojectionconfig.class... processing com/google/common/logging/nano/vr$vrevent$sdkconfigurationparams$asyncreprojectionconfig$flags.class... processing com/google/common/logging/nano/vr$vrevent$sdkconfigurationparams$daydreamimagealignment.class... processing com/google/common/logging/nano/vr$vrevent$sensorstats.class... processing com/google/common/logging/nano/vr$vrevent$sensorstats$gyroscopestats.class... processing com/google/common/logging/nano/vr$vrevent$sensorstats$vector3.class... processing com/google/common/logging/nano/vr$vrevent$streetview.class... processing com/google/common/logging/nano/vr$vrevent$streetview$panosession.class... processing com/google/common/logging/nano/vr$vrevent$streetview$panosession$source.class... processing com/google/common/logging/nano/vr$vrevent$timeseriesdata.class... processing com/google/common/logging/nano/vr$vrevent$timeseriesdata$timeintervaldata.class... processing com/google/common/logging/nano/vr$vrevent$transform.class... processing com/google/common/logging/nano/vr$vrevent$vrcore.class... processing com/google/common/logging/nano/vr$vrevent$vrcore$controller.class... processing com/google/common/logging/nano/vr$vrevent$vrcore$controller$controlleraxis.class... processing com/google/common/logging/nano/vr$vrevent$vrcore$controller$sensortype.class... processing com/google/common/logging/nano/vr$vrevent$vrcore$errorcode.class... processing com/google/common/logging/nano/vr$vrevent$vrcore$permission.class... processing com/google/common/logging/nano/vr$vrevent$vrhome.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$dialogaction.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$dialogaction$dialogactiontype.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$dialogaction$dialogtype.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$getviewerclick.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$setup.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$setup$step.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$setup$stepstatechange.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$setup$stepstatechange$stepstate.class... processing com/google/common/logging/nano/vr$vrevent$vrhome$setup$view.class... ignored resource com/google/protobuf/ processing com/google/protobuf/abstractmessagelite.class... processing com/google/protobuf/abstractmessagelite$builder.class... processing com/google/protobuf/abstractmessagelite$builder$limitedinputstream.class... processing com/google/protobuf/abstractmutablemessagelite.class... processing com/google/protobuf/abstractmutablemessagelite$1.class... processing com/google/protobuf/abstractparser.class... processing com/google/protobuf/abstractprotobuflist.class... processing com/google/protobuf/allocatedbuffer.class... processing com/google/protobuf/allocatedbuffer$1.class... processing com/google/protobuf/allocatedbuffer$2.class... processing com/google/protobuf/binaryprotocolutil.class... processing com/google/protobuf/binaryreader.class... processing com/google/protobuf/binaryreader$1.class... processing com/google/protobuf/binaryreader$safeheapreader.class... processing com/google/protobuf/binarywriter.class... processing com/google/protobuf/binarywriter$1.class... processing com/google/protobuf/binarywriter$safedirectwriter.class... processing com/google/protobuf/binarywriter$safeheapwriter.class... processing com/google/protobuf/binarywriter$unsafedirectwriter.class... processing com/google/protobuf/binarywriter$unsafeheapwriter.class... processing com/google/protobuf/booleanarraylist.class... processing com/google/protobuf/bufferallocator.class... processing com/google/protobuf/bufferallocator$1.class... processing com/google/protobuf/bytebufferwriter.class... processing com/google/protobuf/byteoutput.class... processing com/google/protobuf/bytestring.class... processing com/google/protobuf/bytestring$1.class... processing com/google/protobuf/bytestring$arraysbytearraycopier.class... processing com/google/protobuf/bytestring$boundedbytestring.class... processing com/google/protobuf/bytestring$bytearraycopier.class... processing com/google/protobuf/bytestring$byteiterator.class... processing com/google/protobuf/bytestring$codedbuilder.class... processing com/google/protobuf/bytestring$leafbytestring.class... processing com/google/protobuf/bytestring$literalbytestring.class... processing com/google/protobuf/bytestring$output.class... processing com/google/protobuf/bytestring$systembytearraycopier.class... processing com/google/protobuf/codedinputstream.class... processing com/google/protobuf/codedinputstream$1.class... processing com/google/protobuf/codedinputstream$arraydecoder.class... processing com/google/protobuf/codedinputstream$streamdecoder.class... processing com/google/protobuf/codedinputstream$streamdecoder$refillcallback.class... processing com/google/protobuf/codedinputstream$streamdecoder$skippeddatasink.class... processing com/google/protobuf/codedinputstream$unsafedirectniodecoder.class... processing com/google/protobuf/codedinputstreamreader.class... processing com/google/protobuf/codedinputstreamreader$1.class... processing com/google/protobuf/codedoutputstream.class... processing com/google/protobuf/codedoutputstream$1.class... processing com/google<message truncated>
Comments
Post a Comment