Android 当我下载任何应用程序并安装时,我在哪里可以在我的设备上找到 .apk 文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12175904/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 09:58:57  来源:igfitidea点击:

where can i find the .apk file on my device, when i download any app and install?

androidadbapk

提问by Archie.bpgc

Where can i find the .apkfile of an application on my device, which i downloaded and installed from Google Play Store. Just in case i want to send it to one of my friends through Bluetooth etc..,??

我在哪里可以找到.apk我从 Google Play 商店下载并安装的设备上的应用程序文件。以防万一我想通过蓝牙等将它发送给我的一位朋友,??

采纳答案by Clyde Lobo

There is an app in google play known as MyAppSharer. Open the app, search for the app that you have installed, check apk and select share. The app would take some time and build the apk. You can then close the app. The apk of the file is located in /sdcard/MyAppSharer

google play 中有一个应用程序叫做MyAppSharer。打开应用程序,搜索您已安装的应用程序,检查apk 并选择共享。该应用程序需要一些时间来构建 apk。然后您可以关闭该应用程序。该文件的apk位于/sdcard/MyAppSharer

This does not require rooting your phone and works only for apps that are currently installed on your phone

这不需要root您的手机,并且仅适用于您手机上当前安装的应用程序

回答by Mihic

All user installed apks are located in /data/app/, but you can only access this if you are rooted(afaik, you can try without root and if it doesn't work, rooting isn't hard. I suggest you search xda-developers for rooting instructions)

所有用户安装的 apk 都位于 /data/app/ 中,但是只有在您有 root 权限时才能访问它(afaik,您可以在没有 root 的情况下尝试,如果它不起作用,则生根并不难。我建议您搜索 xda - 生根说明的开发人员)

Use Root explorer or ES File Explorer to access /data/app/ (you have to keep going "up" until you reach the root directory /, kind of like C: in windows, before you can see the data directory(folder)). In ES file explorer you must also tick a checkbox in settings to allow going up to the root directory.

使用Root explorer或ES File Explorer访问/data/app/(你必须一直“向上”直到到达根目录/,有点像windows中的C:,才能看到数据目录(文件夹)) . 在 ES 文件浏览器中,您还必须勾选设置中的复选框以允许进入根目录。

When you are in there you will see all your applications apks, though they might be named strangely. Just copy the wanted .apk and paste in the sd card, after that you can copy it to your computer and when you want to install it just open the .apk in a file manager (be sure to have install from unknown sources enabled in android settings). Even if you only want to send over bluetooth I would recommend copying it to the SD first.

当你在那里时,你会看到你所有的应用程序 apk,尽管它们的名字可能很奇怪。只需复制想要的 .apk 并粘贴到 sd 卡中,然后您可以将其复制到您的计算机,当您想要安装它时,只需在文件管理器中打开 .apk(确保在 android 中启用了从未知来源安装设置)。即使您只想通过蓝牙发送,我也建议先将其复制到 SD。

PS Note that paid apps probably won't work being copied this way, since they usually check their licence online. PPS Installing an app this way may not link it with google play(you won't see it in my apps and it won't get updates).

PS 请注意,以这种方式复制付费应用程序可能无法正常工作,因为它们通常会在线检查其许可证。PPS 以这种方式安装应用程序可能不会将其与 google play 链接(您不会在我的应用程序中看到它,也不会获得更新)。

回答by Jopi

You can use a file browser with an backup function, for example the ES File ExplorerLong tap a item and select create backup

您可以使用具有备份功能的文件浏览器,例如ES File Explorer长按一个项目并选择创建备份

回答by Andro Selva

You can do that I believe. It needs root permission. If you want to know where your apk files are stored, open a emulator and then go to

你可以做到这一点,我相信。它需要root权限。如果你想知道你的 apk 文件存储在哪里,打开一个模拟器,然后去

DDMS>File Explorer-> you can see a directory by name "data" -> Click on it and you will see a "app" folder.

DDMS>文件资源管理器->你可以看到一个名为“data”的目录->点击它你会看到一个“app”文件夹。

Your apks are stored there. In fact just copying a apk directly to the folder works for me with emulators.

您的 apk 存储在那里。事实上,只需将 apk 直接复制到文件夹中,我就可以使用模拟器。