东方巽雷吧 关注:1,192贴子:10,414
  • 9回复贴,共1

破解最后一步!AppCompat, 找不到资源。

只看楼主收藏回复

希望同志们认识到这件事的严重性 ( ̄▽ ̄),贫道从smali 上破解了一个软件(AWD IDE, 用来写html,js之类的东西),高级功能貌似成功解锁,但可能因为贫道的功夫太浅(学smali一下午,而且java源代码也获取失败了),出了个小BUG,简单的解决方式是把一个布局文件里的一个false 改成 true,反编译成功,回编译失败。


来自手机贴吧1楼2014-10-30 14:00回复
    I: Copying classes.dex file...
    I: Building resources...
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:149: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:192: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:208: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base.DropDownItem'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:234: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:241: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:260: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:293: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values-v14/styles.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
    /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res/values/styles.xml:485: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Base'.
    Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 9, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL7337507375542528652.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res, -M, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_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/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 9, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL7337507375542528652.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res, -M, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_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: [/data/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 9, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL7337507375542528652.tmp, -I, ?/apktool/framework/1.apk, -S, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/res, -M, /sdcard/ShowJava/org.kidinov.awd/awd-m-unlocked_src/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
    ... 6 more


    来自手机贴吧2楼2014-10-30 14:01
    回复
      求解!~


      来自手机贴吧3楼2014-10-30 14:01
      回复
        严重性是什么


        IP属地:陕西来自Android客户端4楼2014-10-30 14:49
        收起回复
          45532133G


          IP属地:北京来自Android客户端5楼2014-11-04 00:58
          回复
            不懂,,,
            ┌┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
            ┆回复有经验我才设置的十五字有木有╰╮
            ├┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┰╯
            ┊(^з^)凸(>皿<)凸()^))=凸%•=ˉ┊
            └┄┄⊕—⊕┈┈┈┈┈┈┈┈┈⊕┈┙


            IP属地:四川来自Android客户端6楼2014-11-04 11:04
            回复
              路过→_→
              这只是为了凑够十五字我才精心打造的小一把
                 --来自卑鄙的我


              IP属地:北京来自Android客户端7楼2014-11-05 11:25
              回复
                诚邀您的加入 h防tt度p:娘//y吞dl删t.字xyz


                IP属地:四川8楼2014-12-13 08:33
                回复
                  @null


                  来自Android客户端10楼2015-01-16 15:04
                  回复