akiller 发表于 2015-3-17 08:56:59

晓寒歌 发表于 2015-3-17 08:40
删除了framework下的apk文件,还是编译失败!!!!

正在编译 APK,请稍等...


将你的 AndroidKiller_V1.2 正式版,复制到D盘,其他什么盘都可以,放在硬盘的根目录下,改下名,比如说:

D:\AK
D:\AndroidKiller
E:\AK

这种短路径试试,apktool 有很大部分原因是由于路径引起的

晓寒歌 发表于 2015-3-17 10:48:06

akiller 发表于 2015-3-17 08:56
将你的 AndroidKiller_V1.2 正式版,复制到D盘,其他什么盘都可以,放在硬盘的根目录下,改下名,比如说 ...

已经修改成短名称!!!!但还是发现反编译出来的的源码有部分smli文件丢失!!!
正在编译 APK,请稍等...
>I: Using Apktool 2.0.0-RC4
>I: Smaling smali folder into classes.dex...
>I: Building resources...
>warning: string 'auth_client_needs_enabling_title' has no default translation.
>warning: string 'auth_client_needs_installation_title' has no default translation.
>warning: string 'auth_client_needs_update_title' has no default translation.
>warning: string 'auth_client_play_services_err_notification_msg' has no default translation.
>warning: string 'auth_client_requested_by_msg' has no default translation.
>warning: string 'auth_client_using_bad_version_title' has no default translation.
>I: Copying libs...
>I: Building apk file...
>I: Copying unknown files/dir...
>Exception in thread "main" brut.androlib.AndrolibException: java.nio.file.FileAlreadyExistsException: D:\projects\kritika\Bin\zipfstmp2439498006535746478.tmp -> D:\projects\kritika\Bin\project.apk
>        at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:576)
>        at brut.androlib.Androlib.build(Androlib.java:289)
>        at brut.androlib.Androlib.build(Androlib.java:255)
>        at brut.apktool.Main.cmdBuild(Main.java:225)
>        at brut.apktool.Main.main(Main.java:84)
>Caused by: java.nio.file.FileAlreadyExistsException: D:\projects\kritika\Bin\zipfstmp2439498006535746478.tmp -> D:\projects\kritika\Bin\project.apk
>        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>        at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:387)
>        at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
>        at java.nio.file.Files.move(Files.java:1347)
>        at com.sun.nio.zipfs.ZipFileSystem.sync(ZipFileSystem.java:1297)
>        at com.sun.nio.zipfs.ZipFileSystem.close(ZipFileSystem.java:277)
>        at brut.androlib.Androlib.insertFile(Androlib.java:595)
>        at brut.androlib.Androlib.buildUnknownFiles(Androlib.java:571)
>        ... 4 more
APK 编译失败,无法继续下一步签名!

晓寒歌 发表于 2015-3-17 11:05:01

源码反编译了出来的文件有丢失的,应该跟这个有关系吧,少文件了,!!!

晓寒歌 发表于 2015-3-17 11:07:48

换了一个小的apk文件,他可以反编译!!!

正在编译 APK,请稍等...
>I: Using Apktool 2.0.0-RC4
>I: Smaling smali folder into classes.dex...
>I: Building resources...
>warning: string 'accept' has no default translation.
>warning: string 'common_android_wear_notification_needs_update_text' has no default translation.
>warning: string 'common_android_wear_update_text' has no default translation.
>warning: string 'common_android_wear_update_title' has no default translation.
>warning: string 'common_google_play_services_enable_button' has no default translation.
>warning: string 'common_google_play_services_enable_text' has no default translation.
>warning: string 'common_google_play_services_enable_title' has no default translation.
>warning: string 'common_google_play_services_error_notification_requested_by_msg' has no default translation.
>warning: string 'common_google_play_services_install_button' has no default translation.
>warning: string 'common_google_play_services_install_text_phone' has no default translation.
>warning: string 'common_google_play_services_install_text_tablet' has no default translation.
>warning: string 'common_google_play_services_install_title' has no default translation.
>warning: string 'common_google_play_services_invalid_account_text' has no default translation.
>warning: string 'common_google_play_services_invalid_account_title' has no default translation.
>warning: string 'common_google_play_services_needs_enabling_title' has no default translation.
>warning: string 'common_google_play_services_network_error_text' has no default translation.
>warning: string 'common_google_play_services_network_error_title' has no default translation.
>warning: string 'common_google_play_services_notification_needs_installation_title' has no default translation.
>warning: string 'common_google_play_services_notification_needs_update_title' has no default translation.
>warning: string 'common_google_play_services_notification_ticker' has no default translation.
>warning: string 'common_google_play_services_unknown_issue' has no default translation.
>warning: string 'common_google_play_services_unsupported_text' has no default translation.
>warning: string 'common_google_play_services_unsupported_title' has no default translation.
>warning: string 'common_google_play_services_update_button' has no default translation.
>warning: string 'common_google_play_services_update_text' has no default translation.
>warning: string 'common_google_play_services_update_title' has no default translation.
>warning: string 'common_open_on_phone' has no default translation.
>warning: string 'common_signin_button_text' has no default translation.
>warning: string 'common_signin_button_text_long' has no default translation.
>warning: string 'create_calendar_message' has no default translation.
>warning: string 'create_calendar_title' has no default translation.
>warning: string 'decline' has no default translation.
>warning: string 'select_image_to_replace' has no default translation.
>warning: string 'store_picture_message' has no default translation.
>warning: string 'store_picture_title' has no default translation.
>warning: string 'wallet_buy_button_place_holder' has no default translation.
>I: Building apk file...
>I: Copying unknown files/dir...
APK 编译完成!
正在对 APK 进行签名,请稍等...
APK 签名完成!
---------------------------
APK 所有编译工作全部完成!!!
生成路径(点选 "工程管理器" 中 Android 小图标按钮或点击下面路径进行查看):
file:D:\APK\projects\APK+Editor+Pro+v1.2.6+\Bin\APK+Editor+Pro+v1.2.6+_killer.apk

akiller 发表于 2015-3-17 11:23:49

关于部分文件丢失,可能是加壳了,如果未加壳,但是有部分文件丢失,然后只要可以正常编译,那也没有问题,最主要的是,丢失的文件是否是关键的 smali 文件

晓寒歌 发表于 2015-3-17 12:13:06

akiller 发表于 2015-3-17 11:23
关于部分文件丢失,可能是加壳了,如果未加壳,但是有部分文件丢失,然后只要可以正常编译,那也没有问题, ...

3月15之前,这个文件是可以编译而且签名的,现在这个文件不能签名了,现在的问题的不能编译了,一直提示签名失败!!!!

peterdocter 发表于 2015-3-17 13:08:50

晓寒歌 发表于 2015-3-17 12:13
3月15之前,这个文件是可以编译而且签名的,现在这个文件不能签名了,现在的问题的不能编译了,一直提示 ...

你直接用apktool.jar 也是有这样的问题吗?如果是就是apktool本身问题,可能你们的jdk配置有问题,也可能是反apktool针对修改。。。

晓寒歌 发表于 2015-3-17 13:32:16

peterdocter 发表于 2015-3-17 13:08
你直接用apktool.jar 也是有这样的问题吗?如果是就是apktool本身问题,可能你们的jdk配置有问题,也可能 ...

我准备重新安装jdk了,之前同一个文件,都可以编译,就是昨天安装了安卓虚拟机,才发现这种问题,

晓寒歌 发表于 2015-3-17 22:34:06

本帖最后由 晓寒歌 于 2015-3-18 09:09 编辑

目前经过群里的前辈们编译,确认应该是apktool的问题
页: 1 2 [3]
查看完整版本: 工具killer,反编译失败,java最新版本!!!