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

