Killall 发表于 2015-1-24 14:43:16

WiFi万能钥匙,回编译失败!

想去除这个软件的广告。看到网上很多人做过,但是效果不满意。想自己弄一下,结果回编译不了!应该不是我电脑软件问题,因为别的APK都能反编译和回编译。

花墨 发表于 2015-1-24 19:17:29

说下具体情况呀,只说回编不了怎么搞

Killall 发表于 2015-1-24 19:39:11

花墨 发表于 2015-1-24 19:17
说下具体情况呀,只说回编不了怎么搞

就是不修改东西,反编译后都回编译不了。

Killall 发表于 2015-1-24 19:41:51

花墨 发表于 2015-1-24 19:17
说下具体情况呀,只说回编不了怎么搞

错误代码

I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:149: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:192: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:208: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base.DropDownItem'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:234: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:241: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:260: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:293: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values-v14\styles.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.
D:\Android\ApkIDE\Work\com.snda.wifilocating\res\values\styles.xml:487: 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:
        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:
        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:
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
        ... 6 more

- 失败!请检查您的代码然后重试。

hdfg159 发表于 2015-1-24 22:52:41

Killall 发表于 2015-1-24 19:41
错误代码

I: Checking whether sources has changed...


嘻嘻,我来告诉你,删掉错误提示行就行了哦{:4_86:},厉害不?哈哈,说笑的

Sarkozy 发表于 2015-1-25 12:05:02

是反编译以后部分类没有被定义,导致不能打包,解决方法,补全定义,或者删除定义,或者重新定义

Killall 发表于 2015-1-25 16:15:23

Sarkozy 发表于 2015-1-25 12:05
是反编译以后部分类没有被定义,导致不能打包,解决方法,补全定义,或者删除定义,或者重新定义 ...

删除了,结果打包卡住不动啊。补全不知道怎么补全。。什么东西都没修改。。。

Sarkozy 发表于 2015-1-26 17:26:04

按照百度的翻译:错误检索父项目:没有资源发现匹配的名字
简单一点说也就是你xml布局中定义了这个项目,而你反编译以后这个项目丢了,然后你就回编译不了了。
另外,apkide会破坏文件框架,建议使用Androidkiller试试

Killall 发表于 2015-1-27 16:43:11

Sarkozy 发表于 2015-1-26 17:26
按照百度的翻译:错误检索父项目:没有资源发现匹配的名字
简单一点说也就是你xml布局中定义了这个项目,而 ...

多谢大神!!果然是apkide的原因,从论坛下载了你说的这个软件。可以回编译了!没有报错。

zohuan 发表于 2015-3-30 17:18:32

法总真是大神
页: [1]
查看完整版本: WiFi万能钥匙,回编译失败!