this cmd is deprecated, use the d2j-dex2jar if possible
dex2jar version: translator-0.0.9.12
[COLOR="Red"]dex2jar classes.dex -> classes_dex2jar.jar[/COLOR]
Done.
C:\apktool>apktool\apktool.bat b mm.weixin my_weixin.apk
但是最后,很不幸,打包的过程失败了, 原因我还在查找中.... 也请高人指导!
(PS: 但是如果你是使用hello world 来做实验,肯定是成功的)
ion, 7, -F, C:\DOCUME~1\ZhangWJ\LOCALS~1\Temp\APKTOOL7685035221103364315.tmp, -I
, C:\Documents and Settings\ZhangWJ\apktool\framework\1.apk, -S, C:\apktool\mm.w
eixin\res, -M, C:\apktool\mm.weixin\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 7, --target-sdk-version, 7, -F, C:\DOCUME~1\ZhangWJ\LOCALS~1\Temp\APK
TOOL7685035221103364315.tmp, -I, C:\Documents and Settings\ZhangWJ\apktool\frame
work\1.apk, -S, C:\apktool\mm.weixin\res, -M, C:\apktool\mm.weixin\AndroidManife
st.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more