Android 如何打开apk文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11458734/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to open apk files
提问by Big_Fan
Yea this might seem like a noob question, but how do you open .apk files? I can't get to open using the AVD manager. Thanks.
是的,这似乎是一个菜鸟问题,但是您如何打开 .apk 文件?我无法使用 AVD 管理器打开。谢谢。
回答by Sam Dozor
APK files are meant to be used by the Android OS to install an application. If you want to use one on an android phone/simulator, use "adb install something.apk" from the terminal/command line. Alternatively, you could email the apk to yourself, then open your email on the device and open the attachment.
APK 文件旨在供 Android 操作系统用于安装应用程序。如果您想在 android 手机/模拟器上使用一个,请从终端/命令行使用“adb install something.apk”。或者,您可以通过电子邮件将 apk 发送给自己,然后在设备上打开您的电子邮件并打开附件。
APK files are basically just a wrapper around an app, you can also open one in a program like WinRAR or some other unzipping/decompression program on your computer to view their contents.
APK 文件基本上只是一个应用程序的包装器,您也可以在 WinRAR 等程序或计算机上的其他一些解压/解压程序中打开一个来查看其内容。
回答by sandalone
On Windows you have to rename it to ZIP and extract.
在 Windows 上,您必须将其重命名为 ZIP 并解压缩。
On Linux just right click on APK and extract it. Linux recognizes it as an archive file by default.
在 Linux 上,只需右键单击 APK 并将其解压缩。Linux 默认将其识别为存档文件。
On Mac, I had issues with renaming so I extract file via Terminal by using the command unzip xyz.apk -d apkDir
(it will extract into apkDir directory)
在 Mac 上,我在重命名时遇到问题,因此我使用命令通过终端提取文件unzip xyz.apk -d apkDir
(它将提取到 apkDir 目录中)
You will then see encrypted Java and XML files which you cannot open (without some extra effort). But you will be able to see and open files from /assets
.
然后,您将看到无法打开的加密 Java 和 XML 文件(无需额外努力)。但是您将能够查看和打开来自/assets
.
回答by sugansoft
Rename your .apk file to .zip file.. and try to extract the file... If you are using windows,mac,ubuntu you can follow this method NOTE: Extracting an .apk will help you to find the images used in their app.
将您的 .apk 文件重命名为 .zip 文件...并尝试提取该文件...如果您使用的是 windows、mac、ubuntu,您可以按照此方法 注意:提取 .apk 将帮助您找到在其应用程序。
回答by Abdulkader Khateeb
You can use Bluestack or Geny motion as APK Simulator
您可以使用 Bluestack 或 Geny 动作作为 APK 模拟器