Sorry about the repost. This forum gives no feedback to notify that a message is pending or awaiting moderation. I also submitted a new thread the next day thinking that maybe old threads were closed to new replies. Again sorry about that.
BenE wrote: > Hi, > > I have the exact same error. I don't even know where to begin to look > for an answer. I could use some clues. > > [2010-12-17 00:32:55 - speedBones] Proguard returned with error code > 1. See console > [2010-12-17 00:32:55 - speedBones] You should check if you need > to specify additional program jars. > [2010-12-17 00:32:55 - speedBones] Unexpected error while performing > partial evaluation: > [2010-12-17 00:32:55 - speedBones] Class = [com/google/ads/ > AFMAUtil] > [2010-12-17 00:32:55 - speedBones] Method = [c([B[B)[B] > [2010-12-17 00:32:55 - speedBones] Exception = > [java.lang.ArrayIndexOutOfBoundsException] (-1) > [2010-12-17 00:32:55 - speedBones] > java.lang.ArrayIndexOutOfBoundsException: -1 > [2010-12-17 00:32:55 - speedBones] at > proguard.optimize.peephole.BranchTargetFinder.visitConstantInstruction(BranchTargetFinder.java: > 496) > [2010-12-17 00:32:55 - speedBones] at > proguard.classfile.instruction.ConstantInstruction.accept(ConstantInstruction.java: > 161) > [2010-12-17 00:32:55 - speedBones] at > proguard.classfile.attribute.CodeAttribute.instructionsAccept(CodeAttribute.java: > 138) > [2010-12-17 00:32:55 - speedBones] at > proguard.classfile.attribute.CodeAttribute.instructionsAccept(CodeAttribute.java: > 110) > [2010-12-17 00:32:55 - speedBones] at > proguard.optimize.peephole.BranchTargetFinder.visitCodeAttribute(BranchTargetFinder.java: > 358) > > On Dec 7, 2:36 am, Alan Jeon <[email protected]> wrote: > > Hi, > > > > I'm using Google AdSense sdk. (GoogleAdView.jar) > > Enabling proguard makes following errors. > > > > [proguard] Unexpected error while performing partial evaluation: > > [proguard] Class = [com/google/ads/AFMAUtil] > > [proguard] Method = [c([B[B)[B] > > [proguard] Exception = [java.lang.ArrayIndexOutOfBoundsException] > > (-1) > > > > How can I avoid this error? > > > > On 12월7일, 오후1시40분, Xavier Ducrohet <[email protected]> wrote: > > > > > > > > > > > > > > > > > Michael, > > > > > We're fixing ADT to properly report what the problem really is but we > > > just noticed the .bat that proguard ships with doesn't support path > > > with spaces. > > > We'll provide our own .bat for the next tools release but in the mean > > > time you may want to check this. > > > > > Xav > > > > > On Mon, Dec 6, 2010 at 3:37 PM, Michael A. <[email protected]> > > > wrote: > > > > I'm getting an error when trying to export using Proguard: > > > > > > !MESSAGE Failed to export application > > > > !STACK 0 > > > > com.android.ide.eclipse.adt.internal.build.ProguardResultException > > > > at > > > > com.android.ide.eclipse.adt.internal.build.BuildHelper.runProguard(Unknown > > > > Source) > > > > at > > > > com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk( > > > > Unknown > > > > Source) > > > > at > > > > com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(U > > > > nknown > > > > Source) > > > > at > > > > com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access > > > > $0(Unknown Source) > > > > at > > > > com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard > > > > $1.run(Unknown Source) > > > > at org.eclipse.jface.operation.ModalContext > > > > $ModalContextThread.run(ModalContext.java:121) > > > > > > This is a brand new, clean project in Eclipse Helios (Win7) with - as > > > > far as I know - the latest plugin and SDK. I'm guessing that there's > > > > something in my Eclipse/Windows environment that needs to be set up. > > > > Any tips? > > > > > > Regards, > > > > > > Michael A. > > > > > > On Dec 7, 12:18 am, "Michael A." <[email protected]> wrote: > > > >> Thanks. I found it shortly after posting this (incidentally, the link > > > >> in the Android market points to the wrong page). > > > > > >> Great stuff. I love the many small things like these in 2.3 that help > > > >> makes the lives of the developers easier. :-) > > > > > >> Regards, > > > > > >> Michael A. > > > > > >> On Dec 7, 12:07 am, Xavier Ducrohet <[email protected]> wrote: > > > > > >> > Doc about the integration is > > > >> > there:http://developer.android.com/guide/developing/tools/proguard.html > > > > > >> > In a nutshell: > > > >> > - it's packaged with the SDK > > > >> > - all you have to do is create a proguard config file somewhere and > > > >> > specify its location in default.properties. > > > >> > - Whenever you do a release build (ant release or export > > > >> > signed/unsigned package from Eclipse) it'll run proguard on your > > > >> > code. > > > > > >> > more > > > >> > info:http://developer.android.com/guide/developing/tools/proguard.html > > > > > >> > On Mon, Dec 6, 2010 at 3:01 PM, Michael A. > > > >> > <[email protected]> wrote: > > > >> > > Hi, > > > > > >> > > The release notes for the new ADT/SDK mentions integrated ProGuard > > > >> > > support, which I find very interesting, as I've been holding off on > > > >> > > the latest release partly for this feature. > > > > > >> > > Unfortunately, it does not appear that easy. There are not any > > > >> > > obvious > > > >> > > interface changes that I have been able to find, and a search of > > > >> > > the > > > >> > > website does not turn up any documentation (at this moment). Has > > > >> > > anyone been able to find the documentation for this or been able to > > > >> > > figure out in what way ProGuard has been "integrated"? > > > > > >> > > Regards, > > > > > >> > > Michael A. > > > > > >> > > -- > > > >> > > You received this message because you are subscribed to the Google > > > >> > > Groups "Android Developers" group. > > > >> > > To post to this group, send email to > > > >> > > [email protected] > > > >> > > To unsubscribe from this group, send email to > > > >> > > [email protected] > > > >> > > For more options, visit this group at > > > >> > >http://groups.google.com/group/android-developers?hl=en > > > > > >> > -- > > > >> > Xavier Ducrohet > > > >> > Android SDK Tech Lead > > > >> > Google Inc. > > > > > >> > Please do not send me questions directly. Thanks! > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected] > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > > -- > > > Xavier Ducrohet > > > Android SDK Tech Lead > > > Google Inc. > > > > > Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

