你怎么反编译,编辑在eclipse并重新编译APK?一步步? [英] How do you decompile, edit in eclipse and recompile an apk? Step by Step?

查看:535
本文介绍了你怎么反编译,编辑在eclipse并重新编译APK?一步步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从市场这个应用程序的APK格式,但我想调整它一点点地解决一些问题,我有一个小屏幕,我知道code OK,但它越来越来的地步编辑code这就是问题所在。

I have this application from the market in an apk format, but I want to tweak it a little bit to fix some issues I have with a small screen, I know the code ok but it's getting to the point of editing the code that's the problem

我以前尝试过:

  1. 在使用反编译APK管理器(命令9)
  2. 在这所有的文件创建一个文件夹中的项目
  3. 在Eclipse中我犯了一个新的Andr​​oid项目,并选择使用现有的源文件,选择它是在文件夹和导入。
  4. 所有的文件出现在项目文件夹,我可以对其进行编辑。
  5. 在我所做的所有的相关变化(不接触manifest.xml文件)
  6. 我去文件>导出并选择导出Android应用程序
  7. 在经过​​大约键和一切步骤
  8. 在没有任何错误创建的输出文件
  9. 我的文件转移到我的Andr​​oid手机
  10. 打开一看,它安装
  11. 当打开它从菜单中,我得到一个直接强制关闭错误
  1. Decompile using apk manager (command 9)
  2. That created a folder in projects with all the files
  3. In eclipse I made a new android project, and chose, "use existing source", chose the folder it was in and imported.
  4. All the files appeared in the project folder and I could edit them.
  5. I made all the relevant changes (not touching the manifest.xml file)
  6. I went to file>export and chose Export android app
  7. Went through the steps about keys and everything
  8. Output file created with no errors
  9. I transferred the file to my android phone
  10. Opened it, it installed
  11. When open it from the menu, I get an immediate force close error

一切看上去都很好,直到这一点,我已经尝试过其他的手机,同样的问题。

Everything seems to be going good until that point, I have tried it on other phones, same problem.

我想知道的是编辑的APK的正确方法,使他们再次合作。

What I would like to know is the proper way of editing apks so that they will work again.

我还到处找有关编辑的apk在互联网上,但我不能找到一个很好的答案,所以我希望这里有人会给我一个soloution。

I have searched everywhere on the internet about editing apk's but I can't find a good answer so I was hoping that someone here would give me a soloution.

感谢

推荐答案

在安装到你的手机,你实际上需要签署的应用程序。这可以通过下载 appsign.apk 文件来完成,它有一点点的程序做的。 首先下载SignAPK工具 - http://www.mediafire.com/?rw57ftajd6nm81s 他们解压到一个目录,你会记得。我已经把它们放在C:\ SignApk

Before installing it to your phone, you actually need to sign the app. This can be done by downloading appsign.apk file and it has a little bit procedure to do. First download the SignAPK tool - http://www.mediafire.com/?rw57ftajd6nm81s Extract them to a directory you will remember. I have put them in C:\SignApk

现在只需打开CMD,输入 - 报价

Now just open cmd and type - Quote

CD C:\ SignApk Java的罐子signapk.jar certificate.pem key.pk8   您-app.apk您-APP-signed.apk

cd C:\SignApk java -jar signapk.jar certificate.pem key.pk8 your-app.apk your-app-signed.apk

示例 -

Java的罐子signapk.jar certificate.pem key.pk8   D:\ nfsshift \ DIST \ nfsshift.apk D:\ nfsshift \ DIST \ nfsshift,signed.apk   您的APK的签名并安装即可。

java -jar signapk.jar certificate.pem key.pk8 D:\nfsshift\dist\nfsshift.apk D:\nfsshift\dist\nfsshift-signed.apk Your APK is signed and can be installed.

这篇关于你怎么反编译,编辑在eclipse并重新编译APK?一步步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆