The error msg seems to indicate where quite clearly.
Line 38 of add-proguard-release.xml is where it is failing.

And it is failing because it can't find the admob library and suggest
that you include them using "-libraryjars"




On Sep 22, 8:18 pm, akatka <[email protected]> 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?

-- 
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