invalid resource directory name: f:\tang\res/drawable-xhdpi Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl ibException: brut.common.BrutException: could not exec command: [aapt, p, --min- sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\ADMINI~1\AppData\Local\Te mp\APKTOOL15587.tmp, -0, arsc, -I, C:\Users\Administrator\apktool\framework\1.ap k, -S, f:\tang\res, -M, f:\tang\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, 8, --target-sdk-version, 15, -F, C:\ Users\ADMINI~1\AppData\Local\Temp\APKTOOL15587.tmp, -0, arsc, -I, C:\Users\Admin istrator\apktool\framework\1.apk, -S, f:\tang\res, -M, f:\tang\AndroidManifest.x ml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav a:357) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336) ... 5 more 重复签名apk的话,需要把apk包里面的MATE-INF文件夹删除掉。
的确是删除了MATE-INF这个文件夹就可以签名了
|