If you can't wait, here's something to get you started that worked for
me. It's what I used to obfuscate AAL, which was a library not an
Android App, and thus a bit simpler.
You'll need to adjust what you "keep" (e.g., don't obfuscate) so that
you don't shred classes that are referenced by your manifest, or
you'll have to update your manifest after the fact.
<taskdef resource="proguard/ant/task.properties"
classpath="/adev/proguard4.4/lib/proguard.jar" />
<proguard>
-libraryjars "${android-jar}"
-injars "${build-location}/license.jar"
-outjars "${build-location}/license-rel.jar"
-dontpreverify
-dontoptimize
-dontshrink
-dontusemixedcaseclassnames
-repackageclasses ''
-allowaccessmodification
-optimizationpasses 1
-verbose
-keep public class com.keyes.license.LicenseManager {
public *;
}
-keep public class com.keyes.license.CheckLicenseCallback {
public *;
}
-keep public class com.keyes.license.LicenseException {
public *;
}
</proguard>
Dave
On Aug 24, 6:53 pm, sblantipodi <[email protected]> wrote:
> As
> title,http://android-developers.blogspot.com/2010/08/licensing-server-news....
>
> where is the guide to obfuscate our code?
--
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