In an effort to integrate the change for external libraries, I believe that I broke building on Windows machines. I believe that I've corrected this problem with the latest version. Let me know if it works for you.
Cheers, Dan - Dan Galpin Developer Advocate, Google - The collective minds on this forum far exceed my own, so post messages here, rather than my e-mail address. On Sep 26, 1:25 pm, Ryan Mattison <[email protected]> wrote: > Can't for the life of me get this stuff to work. It looks like it is > trying to combine folders or something? > > [proguard] ProGuard, version 4.5.1 > [proguard] Reading input... > [proguard] Reading program jar [C:\Android\AndroidWorkspace > \GeoTextXandy\Die\ob > f\original.jar] > [proguard] Reading library jar [C:\Android\AndroidWorkspace > \GeoTextXandy\Die\li > bs:C:\Android\android-sdk_r05-windows\android-sdk-windows\platforms > \android-7\an > droid.jar] > > BUILD FAILED > C:\Android\AndroidWorkspace\GeoTextXandy\Die\build.xml:92: Can't read > [C:\Androi > d\AndroidWorkspace\GeoTextXandy\Die\libs:C:\Android\android-sdk_r05- > windows\andr > oid-sdk-windows\platforms\android-7\android.jar] (No such file or > directory) > > Total time: 2 seconds > > Any ideas?! > > On Sep 23, 1:40 am, Stephen Lau <[email protected]> wrote:> akatka wrote: > > > I am integrating Proguard obfuscation in my application using the > > > recently posted instructions on the Android developers blog. > > > Everything works fine as long as my project doesn't use any third > > > party jars. When I use a third party jar, admob-sdk-android.jar in my > > > case, the "ant release" step fails with this warning > > > > [proguard] Initializing... > > > [proguard] Warning: com.pqrs.XYZ: can't find referenced class > > > com.admob.android.ads.AdManager > > > [proguard] Warning: com.pqrs.XYZ: can't find referenced class > > > com.admob.android.ads.AdManager > > > [proguard] Warning: there were 2 unresolved references to classes or > > > interfaces. > > > [proguard] You may need to specify additional library jars > > > (using '-libraryjars'). > > > > BUILD FAILED > > > D:\testandroid\eclipseworkspace\MyProj\add-proguard-release.xml:38: > > > Please correct the above warnings first. > > > > Where do I specify the list of third party jars so that the proguard > > > can find those while the obfuscation step? > > > change the -libraryjars line in add-proguard-release.xml to look like: > > > -libraryjars ${external.libs.dir}:${libraryjarpath} > > > and you should be all set > > > cheers, > > steve > > > -- > > stephen lau | [email protected] |http://whacked.net|@stevel -- 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

