简体   繁体   English

如何打开一个.apk文件

[英]how to open an .apk file

hi i am a new developer, i created an app of my own. 嗨,我是一名新开发人员,我创建了自己的应用程序。 I created the .apk file and get it signed and aligned it. 我创建了.apk文件,并对其进行签名和对齐。 When i was running it on my device i thought of doing some changes in it, but i missed the original source code. 当我在设备上运行它时,我想对其进行一些更改,但是我错过了原始源代码。 Can i get back my source code using the aligned.apk file... I am using eclipse 我可以使用aligned.apk文件找回源代码吗?我正在使用eclipse

The apk is just a zip file so you can unzip it. 该apk只是一个zip文件,因此您可以将其解压缩。 Your code will be in a classes.dex file in the dalvik format. 您的代码将以dalvik格式保存在classes.dex文件中。 There are some tools you can use to convert it back from dex2jar , and then decompile the class files using jad but your source code will most likely be imcomplete. 您可以使用一些工具将其从dex2jar转换回,然后使用jad反编译类文件,但是您的源代码很可能是不完整的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM