吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 4246|回复: 6
收起左侧

[Android 求助] 安卓反编译后不能回编译求助

[复制链接]
zfy 发表于 2019-10-10 09:50
apktool2.4.0
用android Killer和命令行都回编译不成功。
反编译日志如下:
>I: Using Apktool 2.4.0
>I: Smaling smali folder into classes.dex...
>I: Building resources...
>W: invalid resource directory name: C:\Users\Administrator\Desktop\AndroidKiller_v1.3.1\projects\com.csd.newyunketang\Project\res navigation
>brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_4670011853842006501.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 139, --version-name, 4.0.19_arm64_only, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL6091556294270764787.tmp, -0, arsc, -0, png, -0, gif, -0, jpg, -0, res/drawable-hdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-hdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-hdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-hdpi-v4/notification_bg_normal.9.png, -0, res/drawable-hdpi-………………res/drawable-xxhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, ogg, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Administrator\Desktop\AndroidKiller_v1.3.1\projects\com.csd.newyunketang\Project\res, -M, C:\Users\Administrator\Desktop\AndroidKiller_v1.3.1\projects\com.csd.newyunketang\Project\AndroidManifest.xml]
APK 编译失败,无法继续下一步签名!

中间省略号省略了一部分类似内容,基本都是drawable-xx-v4文件夹里边.9.png图片的问题,反编译后res目录如下,并没有v4结尾的drawable文件夹。
反编译的apk在 链接:https://pan.baidu.com/s/11pOlhvDtGdecLaOy-JLcFg   提取码:o4w2
望大神们帮忙看下,感激不尽

反编译后src目录

反编译后src目录

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

滚烫的冰 发表于 2019-10-10 10:11
本帖最后由 滚烫的冰 于 2019-10-10 10:32 编辑

换一个软件试试,我用改之理反编译没提示出错,但是也没发现那个什么V4的文件夹。
不知道你要改什么内容,直接用压缩软件打开,修改好之后再签名试一下吧
AcsZeg 发表于 2019-10-10 10:57
 楼主| zfy 发表于 2019-10-10 11:21
滚烫的冰 发表于 2019-10-10 10:11
换一个软件试试,我用改之理反编译没提示出错,但是也没发现那个什么V4的文件夹。
不知道你要改什么内容, ...

谢谢你,我用android killer反编译也没有问题的,就是重新打包的时候会报错,不能重新打包。我打算绕过登录一机一码验证,尝试提取加密视频。
 楼主| zfy 发表于 2019-10-10 11:25
AcsZeg 发表于 2019-10-10 10:57
局部修改再签名

谢谢老哥,小弟刚接触反编译有点看不懂,我是反编译后没有改动代码直接点Android killer左上角的编译时,编译不通过,不能打包。
 楼主| zfy 发表于 2019-10-10 11:30
滚烫的冰 发表于 2019-10-10 10:11
换一个软件试试,我用改之理反编译没提示出错,但是也没发现那个什么V4的文件夹。
不知道你要改什么内容, ...

我刚才用改之理也试了,点击编译生成apk会报错。
正在编译Apk...  -
  - 失败:
W: invalid resource directory name: F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\res navigation
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_4202910885539953413.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 139, --version-name, 4.0.19_arm64_only, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL1937109597566548142.tmp, -0, arsc, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\res, -M, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\AndroidManifest.xml]
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:496)
        at brut.androlib.Androlib.buildResources(Androlib.java:430)
        at brut.androlib.Androlib.build(Androlib.java:329)
        at brut.androlib.Androlib.build(Androlib.java:267)
        at brut.apktool.Main.cmdBuild(Main.java:230)
        at brut.apktool.Main.main(Main.java:83)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_4202910885539953413.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 139, --version-name, 4.0.19_arm64_only, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL1937109597566548142.tmp, -0, arsc, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\res, -M, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:441)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:482)
        ... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_4202910885539953413.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 139, --version-name, 4.0.19_arm64_only, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL1937109597566548142.tmp, -0, arsc, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\res, -M, F:\apkbyq_ttrar\apkide_33lc.com\Work\com.csd.newyunketang\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:95)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:435)
        ... 6 more

  - 失败!请检查您的代码然后重试。
AcsZeg 发表于 2019-10-10 11:31
Android killer修改完你改的文件 找到smali目录复制出来 把smali编成dex,把apk改成.rar  把刚刚的dex放回压缩包(替换)  把压缩包改成.apk 重新签名

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
zfy + 1 + 1 谢谢@Thanks!

查看全部评分

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-23 23:22

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表