Hi Xavier,

I updated from Ant 1.7.1 to 1.8.1 but that did not change anything.  I
also updated to ADT 8.0.1; I hadn't noticed the quick follow-up to
it.   I now see more information in my Console view.  I'm getting all
kinds of Warnings (239 to be exact) that  "x.y.z can't find referenced
class a.b.c" followed by the suggestion that perhaps I need to specify
more library jars using the -libraryjar option...or perhaps specify -
dontskipnonpubliclibraryclasses...which is already in my
proguard.cfg.  For example, my project uses BouncyCastle and many
warnings relate to bouncy castle references to javax.naming.*

ProGuard's website lead me to the scary -ignorewarnings option and
that gets me past the issue and the build completes.  But their
website also warns "only use these options if you really know what
you're doing" and I'm not inclined to claim that I do!


Robert

On Dec 8, 7:39 pm, Xavier Ducrohet <[email protected]> wrote:
> Robert, if you use the new build system and the default proguard
> config file, you shouldn't have any problem.
>
> you will however need Ant 1.8 as we use a new feature.
>
> I'm going to add a check on this to make sure people don't use a
> version of ant that's too low.
>
>
>
>
>
>
>
>
>
> On Wed, Dec 8, 2010 at 9:20 AM, Robert Nekic <[email protected]> wrote:
> > I'm also encountering problems getting the ProGuard integration
> > going.  Everything was fine with a test project until I added a few
> > jars to "libs" and added them to the Java Build Path.  Now my attempts
> > to generate an unsigned release build causes the following error:
>
> > 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.project.ExportHelper
> > $2.run(Unknown Source)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> > I have previously used ProGuard and Ant generate builds outside of
> > Eclipse and my old build script included "-libraryjars ${android-jar};
> > ${external-libs-folder}" in the ProGuard params.  I'm trying to figure
> > out the equivalent addition to proguard.cfg but so far have not
> > succeeded.
>
> > Any tips?
>
> > --
> > 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

Reply via email to