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 <x...@android.com> 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. <michael.aki...@gmail.com> 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." <michael.aki...@gmail.com> 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 <x...@android.com> 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. <michael.aki...@gmail.com> 
> >> > 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 
> >> > > android-developers@googlegroups.com
> >> > > To unsubscribe from this group, send email to
> >> > > android-developers+unsubscr...@googlegroups.com
> >> > > 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to