我怎么能改变android apk文件的.java文件?plz帮帮我 [英] How I can change .java file of android apk file?plz help me

查看:97
本文介绍了我怎么能改变android apk文件的.java文件?plz帮帮我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改.java文件的一些来源,我想获取apk安卓文件的.java文件!请帮助我。

I want to change some sources of .java file, I want to get .java file of an apk android file! Please help me.

推荐答案

你需要的是逆向工程,或者一些真正不值得的东西;白痴。如果这是您自己的应用程序,为什么不能编辑您为其编写的源代码?丢失源代码是非常粗心的!



如果您没有源代码(并且您拥有应用程序;您编写了它),您可以尝试对其进行反编译,获取该应用程序的反汇编。



一些有用的程序有几个线程可以将APK转换为应用程序的Java源代码:



1. http://stackoverflow.com/questions/1249973/decompiling-dex-into -java-sourcecode [ ^ ]

2. http://forum.xda-developers。 com / showthread.php?t = 873466 [ ^ ]

3. http://code.google.com / p / dex2jar / wiki / ModifyApkWithDexTool [ ^ ](请给这个看一眼



有一件事,如果那不是你的申请,不要考虑对它进行逆向工程。您可以自己创建类似的应用程序!通过编写Java代码,而不是从二进制文件中重新编写它。
What you need requires reverse engineering, or something really unworthy; idiotic. If that is your own application, why cannot you edit the source code that you wrote for it? It is very careless of yours to lose the source code!

If you don't have the source code (and you own the application; you wrote it) you can try to decompile it, get the disassembly for that application.

There are a few threads to some useful programs that convert the APKs to Java source code for the application:

1. http://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode[^]
2. http://forum.xda-developers.com/showthread.php?t=873466[^]
3. http://code.google.com/p/dex2jar/wiki/ModifyApkWithDexTool[^] (Do give this one a look)

One thing, if that is not your application, do not consider applying reverse engineering to it. You can create a similar application yourself! By writing the Java code, rather than crafting it back from the binary.


这篇关于我怎么能改变android apk文件的.java文件?plz帮帮我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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