我主要关心的是,当我提取我的APK时,我可以看到所有布局文件和字符串等,甚至清单。我使用proguard混淆了所有java文件,使用
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
# If you want to enable optimization, you should include the
# following:
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class
我已经加密了.class文件,并想把它们放入jar,这样我就可以使用dx加载器加载them.While。我得到的问题是我使用ant (build.xmldx命令)来jar它们,但它会出错。
[echo] Converting compiled files and external libraries into D:\XXX/classes.dex...
[apply] trouble processing:
[apply] bad class file magic (6244b7bf) or version (e2dd.0927)
[apply] ..