ProGuard for Android settings
Issue 965 in the Bug DB Android shows at the end in the comments a parameter Proguard that you use when you include the 3rd party jars and obfuscation with Proguard for Android apps. For that to work, you must Proguad 4.4 beta and you turn off optimizations of Judas in the Proguard configuration settings. If a third-party jar is scrambled using an obfuscator with optimization of Judas, that it will fail in Android DVM.
SDK 1.0 forward we could not use the obfuscation because we didn't have a peephole turn obfuscators to deal with the difference between Java virtual machine bytecode Verifier and the DVM, now we do. ProGuard, however, had the feature disabled from version 4 to approximately 4.3 due to conflicts with other Java virtual machines (was optimization, IE the pephole out-not the swtich itself). Is just one of the many details I had to go by and anlayze so that the AndCooper build tool has some effectiveness for developers.
Once again use the obfuscation and otimizers with Android 1.0 to Andorid 1.5, you must use 4.4 Proguard. Beta and disable optimizations of Judas. or any earlier as optimization of Judas is not enabled in previous versions of 4.4, IE version 4.0 to version 4.3.
View the original article here
Posted Unknown
Blog Rating 5 from 5
0 comments:
Post a Comment