手机端反编译吧 关注:8,580贴子:18,203

回复:带着你的apktool问题,我尽力解答

只看楼主收藏回复

回编译失败怎么回事


来自Android客户端85楼2014-10-23 22:00
收起回复
    W: Could not find sources
    Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: Error copying file: res
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:432)
    at brut.androlib.Androlib.buildResources(Androlib.java:362)
    at brut.androlib.Androlib.build(Androlib.java:285)
    at brut.androlib.Androlib.build(Androlib.java:258)
    at brut.apktool.Main.cmdBuild(Main.java:233)
    at brut.apktool.Main.main(Main.java:88)
    Caused by: brut.directory.DirectoryException: Error copying file: res
    at brut.directory.DirUtil.copyToDir(DirUtil.java:88)
    at brut.directory.DirUtil.copyToDir(DirUtil.java:68)
    at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:200)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:421)
    ... 5 more
    Caused by: brut.directory.DirectoryException: Error copying file: raw-tl-xlarge/incognito_mode_start_page.html
    at brut.directory.DirUtil.copyToDir(DirUtil.java:85)
    at brut.directory.DirUtil.copyToDir(DirUti


    IP属地:湖南来自Android客户端86楼2014-10-24 09:10
    收起回复
      导入框架时发生 Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
      at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
      at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
      at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)
      at brut.androlib.Androlib.installFramework(Androlib.java:473)
      at brut.apktool.Main.cmdInstallFramework(Main.java:250)
      at brut.apktool.Main.main(Main.java:81)
      Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000004
      at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
      at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)
      at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182)
      at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
      at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
      at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
      at brut.andr


      来自Android客户端87楼2014-10-24 17:49
      收起回复
        楼楼 反编译成功 什么都没改 回编 不生成apk 这是为何 我改怎么弄勒


        IP属地:浙江88楼2014-10-24 19:55
        收起回复
          ../../../mnt/sdcard/0fanbianyi/SystemUI_src/smali/com/android/systemui/recent/RecentsPanelView.smali[380,4] Error for input '.parameter': Invalid directive
          ../../../mnt/sdcard/0fanbianyi/SystemUI_src/smali/com/android/systemui/recent/RecentsPanelView.smali[381,4] Error for input '.parameter': Invalid directive
          ../../../mnt/sdcard/0fanbianyi/SystemUI_src/smali/com/android/systemui/recent/RecentsPanelView.smali[380,15] mismatched input '"h"' expecting END_METHOD_DIRECTIVE
          ../../../mnt/sdcard/0fanbianyi/SystemUI_src/smali/com/android/systemui/recent/RecentsPanelView.smali[382,4] Error for input '.parameter': Invalid directive
          ../../../mnt/sdcard/0fanbianyi/SystemUI_src/smali/com/android/systemui/recent/RecentsPanelView.smali[383,4] Error for input '.parameter': Invalid directive
          Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/recent/RecentsPanelView.smali
          at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
          at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
          at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
          at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:337)
          at brut.androlib.Androlib.buildSources(Androlib.java:298)
          at brut.androlib.Androlib.build(Androlib.java:284)
          at brut.androlib.Androlib.build(Androlib.java:258)
          at brut.apktool.Main.cmdBuild(Main.java:233)
          at brut.apktool.Main.main(Main.java:88)
          I: Using Apktool 2.0.0-Beta7 on SystemUI_src
          I: Smaling...
          回编译出现这个。͌哪里没弄好
          _
             __蓝翔挖掘机挖你屏幕了_不信你看;̷̸̨̀͒̏̃ͦ̈́̾̀́̎͢҉̵̶͚̼͉͖̺̥͔͇̰̹̮͙͉̻̼̭̻͕̮͇ͨͬͪ͗̇̑̽͋̀̋̊͌ͧͨͭ̓̅͐ͥ̂̔̊ͧ͊҉̶̵̷̞̩̦̳̺̳̬̬̩̣̫͇̯̥͖͍͕̠̦̼̗ͯ̽͌̔ͪͯ́́͋̍ͨ̿̿̎͒ͤ̓̅̀͂ͧ͋̏ͫͣ̔͘͜͠͏̶̵̸̸̸̶̸̶̧̧̡̢̡̛̛̥̺͓̘̺͎̜̥͕͈̝̫͎̺̮̱̤̠̠͖̳̻̥̣̪͍͕͇̮͙̹̪͈̼̩̯̪͕̯̫̹̥͔͚͙̦̩͚̭̥͉̰̝̺͍̭̤̹̘̮̪͖͖͉̲̯͕̜̭̙̺̬̘͉̻͍̝̦͖̣̜͖̱͚̞̞̝̝̭̖͕͓͕͇̖̜̭̠͖̼̯̼̠̹͔̲͔̟͕̱̘̹̗͙̪̥̳͓̳͖̞̻͉͈̮̯̲̘̱̱̞̜̖̞̣̱ͮͧͫ͂͒ͤͣ̌̽ͨͪ͒̄̄̉̒̊ͩ̅͆̒̎̇̆͆ͪ̈́͛̉̍̏́̄̈́̽̔̍̎̂ͬ̆͗͌̔ͫ͆̀́͑̈́ͤ́ͯ̇ͧ̾͂̐̋̉̊ͦͥͫͧ͆ͨ̽̒̃͊̒̎͊̇̽̓̒ͬ̐̈́̀́́̍̈́̆̉ͭͪ̾ͭ̈́͛͑̽͐ͬ̈ͧͧ̍̐̑̓ͥ̔̾͐́̎̎͛ͮ͑ͤ̃̉ͦ̍͒ͩ̃̌̎͗̈́̐̉͐͐͌̄̀̓͆̉̌̎͂ͨͩͬ̾̊͋ͪ̎̑̀͘̚͘͘̚͘͘͘̕͟͟͢͟͟͟͜͝͠͞͝͝͝͝͡ͅͅͅͅ͏͏̡̡̛̙̣͉̪̬̗̳̱̤̥̪̮̮̟̥̠͚̼͉̥ͯ̓̂́͐̄̉̇ͣ́ͪ̅̈̃̚͜͟;̷̸̨̀͒̏̃ͦ̈́̾̀́̎͢҉̵̶͚̼͉͖̺̥͔͇̰̹̮͙͉̻̼̭̻͕̮͇ͨͬͪ͗̇̑̽͋̀̋̊͌ͧͨͭ̓̅͐ͥ̂̔̊ͧ͊҉̶̵̷̞̩̦̳̺̳̬̬̩̣̫͇̯̥͖͍͕̠̦̼̗ͯ̽͌̔ͪͯ́́͋̍ͨ̿̿̎͒ͤ̓̅̀͂ͧ͋̏ͫͣ̔͘͜͠͏̶̵̸̸̸̶̸̶̧̧̡̢̡̛̛̥̺͓̘̺͎̜̥͕͈̝̫͎̺̮̱̤̠̠͖̳̻̥̣̪͍͕͇̮͙̹̪͈̼̩̯̪͕̯̫̹̥͔͚͙̦̩͚̭̥͉̰̝̺͍̭̤̹̘̮̪͖͖͉̲̯͕̜̭̙̺̬̘͉̻͍̝̦͖̣̜͖̱͚̞̞̝̝̭̖͕͓͕͇̖̜̭̠͖̼̯̼̠̹͔̲͔̟͕̱̘̹̗͙̪̥̳͓̳͖̞̻͉͈̮̯̲̘̱̱̞̜̖̞̣̱ͮͧͫ͂͒ͤͣ̌̽ͨͪ͒̄̄̉̒̊ͩ̅͆̒̎̇̆͆ͪ̈́͛̉̍̏́̄̈́̽̔̍̎̂ͬ̆͗͌̔ͫ͆̀́͑̈́ͤ́ͯ̇ͧ̾͂̐̋̉̊ͦͥͫͧ͆ͨ̽̒̃͊̒̎͊̇̽̓̒ͬ̐̈́̀́́̍̈́̆̉ͭͪ̾ͭ̈́͛͑̽͐ͬ̈ͧͧ̍̐̑̓ͥ̔̾͐́̎̎͛ͮ͑ͤ̃̉ͦ̍͒ͩ̃̌̎͗̈́̐̉͐͐͌̄̀̓͆̉̌̎͂ͨͩͬ̾̊͋ͪ̎̑̀͘̚͘͘̚͘͘͘̕͟͟͢͟͟͟͜͝͠͞͝͝͝͝͡ͅͅͅͅ͏͏̡̡̛̙̣͉̪̬̗̳̱̤̥̪̮̮̟̥̠͚̼͉̥ͯ̓̂́͐̄̉̇ͣ́ͪ̅̈̃̚͜͟


          IP属地:北京来自Android客户端89楼2014-10-25 08:31
          收起回复
            大神怎么回编译?我一小白刚刚接触反编译 今天看下拉通知栏透明 但是不知道怎么回编译 大神教教可好?


            来自Android客户端90楼2014-10-25 10:52
            收起回复
              楼主,这个怎么解决??


              来自手机贴吧91楼2014-10-26 08:17
              收起回复
                反编译了三次框架,每次都是替换后直接重启卡在第二屏,咋回事,我是编译好后提取原文件签名再到编译好的添加文件,然后移动根目录重名改权限移动到原文件那里,每次都是覆盖后直接关机,接着就一直卡在那了


                来自Android客户端92楼2014-10-26 12:08
                收起回复
                  反编译出来只有这两个


                  来自iPhone客户端93楼2014-10-26 14:57
                  收起回复
                    光安装了安装包,没有aptool文件,可以用busybox代替吗?也就是busybox工具箱里安装到system/xbin里面的那些符号,可以代替apktool文件吗?如果能,是不是在sd卡创建一个apktool文件夹把system/xbin下的文件复制到apktool就行?


                    来自Android客户端94楼2014-10-27 12:17
                    收起回复
                      ERROR: ld.so: object '/vendor/lib/libNimsWrap.so' from LD_PRELOAD cannot be preloaded: ignored.
                      Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
                      at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
                      at brut.androlib.Androlib.build(Androlib.java:183)
                      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.directory.PathNotExist: apktool.yml
                      at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
                      at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
                      ... 4 more


                      IP属地:江苏来自Android客户端95楼2014-10-27 23:26
                      回复
                        I: Smaling...
                        I: Building resources...
                        Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/lix/aapt, p, --min-sdk-version, 14, --target-sdk-version, 18, -F, /tmp/APKTOOL2882154236396394742.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/0/apktool/SecLauncher3_src/res, -M, /storage/emulated/0/apktool/SecLauncher3_src/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: [/lix/aapt, p, --min-sdk-version, 14, --target-sdk-version, 18, -F, /tmp/APKTOOL2882154236396394742.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/0/apktool/SecLauncher3_src/res, -M, /storage/emulated/0/apktool/SecLauncher3_src/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: [/lix/aapt, p, --min-sdk-version, 14, --target-sdk-version, 18, -F, /tmp/APKTOOL2882154236396394742.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/0/apktool/SecLauncher3_src/res, -M, /storage/emulated/0/apktool/SecLauncher3_src/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 "/lix/aapt": error=13, Permission denied
                        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
                        at java.lang.Runtime.exec(Runtime.java:615)
                        at java.lang.Runtime.exec(Runtime.java:483)
                        at brut.util.OS.exec(OS.java:84)
                        ... 7 more
                        Caused by: java.io.IOException: error=13, Permission denied
                        at java.lang.UNIXProcess.forkAndExec(Native Method)
                        at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
                        at java.lang.ProcessImpl.start(ProcessImpl.java:130)
                        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
                        ... 10 more


                        IP属地:广东来自手机贴吧96楼2014-10-27 23:35
                        收起回复
                          解了boot之后怎么打包回去

                          儒家在北纬:23.281425,东经:116.719925,有种来肝我雅蠛蝶


                          IP属地:广东来自Android客户端97楼2014-10-28 04:09
                          收起回复
                            W: Could not find sources
                            I: Building resources...
                            /sdcard/framework-res_src/res/values/public.xml:4121: error: Public symbol color/dim_foreground_inverse_holo_dark declared here is not defined.
                            Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, /data/data/per.pqy.apktool/APKTOOL4092748258324453340.tmp, -x, -S, /sdcard/framework-res_src/res, -M, /sdcard/framework-res_src/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: [/data


                            IP属地:河南来自Android客户端98楼2014-10-28 07:25
                            收起回复
                              怎么回事?





                              IP属地:河南来自Android客户端99楼2014-10-28 07:29
                              回复