->反编译文件:my.apk,请稍后...
java.exe -jar "D:\Tools\ApkToolkit\Bin\apktool.jar" d -f "C:\Documents and Settings\Administrator\桌面\my.apk" "C:\Documents and Settings\Administrator\桌面\my"
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\Administrator\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
->反编译.apk成功!
->在.xml文件中查找'@*andriod:'错误并进行修复,请稍后...
提示:在文件AndroidManifest.xml中未发现错误,无需修复!(位置:C:\Documents and Settings\Administrator\桌面\my\AndroidManifest.xml)
提示:在文件styles.xml中发现1处错误,已经成功修复!(位置:C:\Documents and Settings\Administrator\桌面\my\res\values\styles.xml)
提示:在文件styles.xml中发现1处错误,已经成功修复!(位置:C:\Documents and Settings\Administrator\桌面\my\res\values-v11\styles.xml)
提示:在文件styles.xml中发现1处错误,已经成功修复!(位置:C:\Documents and Settings\Administrator\桌面\my\res\values-v14\styles.xml)
->在.xml文件中的所有错误都已修复!(错误.xml文件总数:3)
->重建文件:my.R.apk,请稍后...
java.exe -jar "D:\Tools\ApkToolkit\Bin\apktool.jar" b -f "C:\Documents and Settings\Administrator\桌面\my" "C:\Documents and Settings\Administrator\桌面\my.R.apk"
I: Smaling...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL6205534838575807937.tmp, -0, arsc, -I, C:\Documents and Settings\Administrator\apktool\framework\1.apk, -S, C:\Documents and Settings\Administrator\桌面\my\res, -M, C:\Documents and Settings\Administrator\桌面\my\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL6205534838575807937.tmp, -0, arsc, -I, C:\Documents and Settings\Administrator\apktool\framework\1.apk, -S, C:\Documents and Settings\Administrator\桌面\my\res, -M, C:\Documents and Settings\Administrator\桌面\my\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL6205534838575807937.tmp, -0, arsc, -I, C:\Documents and Settings\Administrator\apktool\framework\1.apk, -S, C:\Documents and Settings\Administrator\桌面\my\res, -M, C:\Documents and Settings\Administrator\桌面\my\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, ?????????
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, ?????????
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
->重建.apk失败!
建议:请尝试手动运行Bin目录下的BuildApk.exe来重建.apk!