如何打开&在android studio中编辑apk文件 [英] How to open & edit apk file in android studio
本文介绍了如何打开&在android studio中编辑apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在[DELETED] .com中创建了android应用程序,他们为我提供了apk文件,我想要我的应用程序编辑或查看如何编写他们使用的代码。我是android的初学者。
我尝试了什么:
i保存我的apk文件在sdk floder athen尝试在android studio 2.3.3中打开/看到。
I create android app in [DELETED].com they provide me apk file i want my app edit or see how to write code they used. I am beginner in android.
What I have tried:
i save my apk file in sdk floder athen try to open/see in android studio 2.3.3.
推荐答案
你不能,或者至少不能以某种方式对你有用。一个APK文件包含编译的代码,而不是源代码 - 这是一个不可读的二进制数据。
你用字符编写代码:
You can't, or at least not in a way that would be of any use to you. An APK file contains compiled code, not source - and that is a binary data that isn't human readable.
You write code in characters:
if (userCount > maxUsers)
{
RejectRegistration(ErrCode_TooManyUsers);
return;
}
并转换为机器代码:
and that is converted into machine code:
01A52C336E00005E5E23
其中不包含将其撤消回任何有用的信息的信息!
要学习编码,请拿一本书或者更好的课程。这里没有捷径!
Which does not contain info to "undo" it back to anything you would find useful!
To learn to code, get a book, or better a course. There is no short cut here!
转到 Android文章 [ ^ ]你在哪里会找到很多有用的信息。
Go to Android articles[^] where you will find lots of useful information.
这篇关于如何打开&在android studio中编辑apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文