3/22/2019
Posted by 

After android installs an application from the Marketplace, does it keep the .apk file?

When you make the download of the apps, somewhere you have to pay for it and somewhere you get the APKs for free. Here is a quick peep at the best android apk download sites. Let’s fathom out together whatever is there in these sites, worthy enough to be found out. Android APK Free. Download android apps, games, themes and live wallpapers direct APK for all android smartphones, tablets and other devices from AppsApk.

Is there a standard location where Android would keep such files?

Best free apk download sites
GubatronGubatron

19 Answers

Preinstalled applications are in /system/app folder. User installed applications are in /data/app. I guess you can't access unless you have a rooted phone.I don't have a rooted phone here but try this code out:

It does lists the apks in my rooted htc magic and in the emu.

MacarseMacarse

You can use package manager (pm) over adb shell to list packages:

and to display where the .apk file is:

And adb pull to download the apk.

Community
Mariusz JamroMariusz Jamro

If you just want to get an APK file of something you previously installed, do this:

  1. Get AirDroid from Google Play
  2. Access your phone using AirDroid from your PC web browser
  3. Go to Apps and select the installed app
  4. Click the 'download' button to download the APK version of this app from your phone

You don't need to root your phone, use adb, or write anything.

Jan PrzybyloJan Przybylo

There is no standard location, however you can use the PackageManager to find out about packages and the ApplicationInfo class you can get from there has various information about a particular package: the path to its .apk, the path to its data directory, the path to a resource-only .apk (for forward locked apps), etc. Note that you may or may not have permission to read these directories depending on your relationship with the other app; however, all apps are able to read the resource .apk (which is also the real .apk for non-forward-locked app).

If you are just poking around in the shell, currently non-forward-locked apps are located in /data/app/.apk. The shell user can read a specific .apk, though it can't list the directory. In a future release the naming convention will be changed slightly, so don't count on it remaining the same, but if you get the path of the .apk from the package manager then you can use it in the shell.

hackbodhackbod

Preinstalled Apps are typically in /system/app and user installed apps are in /data/app.

You can use 'adb pull', but you need to know the full path of the APK file. On the emulator, you can get a directory listing using 'adb shell' + 'ls'. But on an android device, you will not be able to do that in '/data' folder due to security reasons. So how do you figure out the full path of the APK file?

You can get a full list of all apps installed by writing a program that queries the PackageManager. Short code snippet below:

You can also find apps that will give such info. There are lots of them. Try this one (AppSender).

xmaslattexmaslatte

If you're looking for the path of a specific app, a quick and dirty solution is to just grep the bugreport:

Android Apk Download Sites

I don't know that this will provide an exhaustive list, so it may help to run the app first.

tomwhippletomwhipple

You can pull apps with ADB. They are in /data/App/, I believe.

Note that you have to root your phone to pull copy protected apps.

Bryan DennyBryan Denny

Install from marketplace

It's the behavior of marketplace whether to keep the apk after installation. Google play doesn't keep the apk after the installation. Other third-party marketplaces might have the different behaviors.

Install from development/debug tool (adb, eclipse, android studio)

When we install the apk from debug tool, directly invoke adb install or from eclipse/android studio, the apk will be transferred (adb push) to a public read and writable directory, usually /data/local/tmp/. After that, the tool will use the pm command to install, it will delete the temporary apk in /data/local/tmp/ after the successful installation.

We could get these information from debug output like following.

How system keeps the apk

Apk Download For Android Phones

Of course the system have to store all apks somewhere. There are three places for the system to keep the apks basic on the different types of apks.

  1. for stock app

Those are usually shipped in device by manufacture, including core app for system running and google service, you can find them under directory /system/app and /system/priv-app.

  1. user installed app

Most of the apks fall into this category. These apks are usually installed from marketplace by users or by adb install without -s option. You can find them under the directory /data/app for a rooted device.

  1. app on sdcard

If the apk enable its install location in sdcard with android:installLocation='auto' in its manifest, the app can be moved to sdcard from system's app manager menu. These apks are usually located in secure folder of sdcard /mnt/sdcard/asec.

Anther way to force the install location to sdcard is using the command adb install -s apk-to-install.apk.

As a note, the files for pre-installed app are not in a single .apk file anymore. There is a folder containing files for every pre-installed app in the directory /system/app or /system/priv-app for the newest android release.

alijandroalijandro

If you are rooted, download the app Root Explorer. Best File manager for rooted users.Anyways, System/app has all the default apks that came with the phone, and data/apk has all the apks of the apps you have installed. Just long press on the apk you want (while in Root Explorer), get to your /sdcard folder and just paste.

TanzerTanzer

In /data/app but for copy protection I don't think you can access it.

Robby PondRobby Pond
gilmgilm
  • data/app
  • system/app
  • system/priv-app
  • mnt/asec (when installed in sdcard)

You can pull the .apks from any of them:

adb pull /mnt/asec

IgnoranteIgnorante

if you are using eclipse goto DDMS and then file explorer there you will see System/Apps folder and the apks are there

Jawad AmjadJawad Amjad

.apk files can be located under /data/app/ directory. Using ES File Explorer we can access these .APK files.

vgokul129vgokul129

When i installed my app on emulator, it showed my the .apk file in

data/app Then I used ls data/app //to see if it exists or not

After you install your app just use ls command vie shell and check desired directory but it depends what kind of application you are trying to install. I used this method to Install Point if any thing is wrong.

Android Apk Download Free

Android Apk Download Sites
DeAviatorDeAviator

Another way to get the apks you can't find, on a rooted device is with rom tool box.

Make a backup using app manager then go to storage/emulated/appmanager and check either system app backup or user app backup.

loadload

To find an apk, download and Install the Bluetooth App Sender from Play store. Once installation completes open the Bluetooth App Sender. It will show all the apps (.apk) installed in your device, then you can easily transfer the app to your PC through Bluetooth.

PremPrem

As opposed to what's written on the chosen answer, you don't need root and it is possible to get the APKs of the installed apps, which is how I've done it on my app (here). Example:

Then, for each of the items of the list, you can access packageInfo.applicationInfo.sourceDir, which is the full path of the APK of the installed app.

android developerandroid developer

Well I came to this post because I wanted to reinstall some app I liked much.If this is your case, just go to Google Play, and look for My Apps, the tab All, and you will find a way to reinstall some app you liked. I faced a problem that I could not find by search one app, but it was there in My apps so I could reinstall in my new mobile ;)

Sergio AbreuSergio Abreu

protected by CommunityNov 5 '15 at 8:47

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged androidpackagesapkinstaller or ask your own question.

The Original World Famous Game-Piano Tiles!
This is a super fun and highly addictive game suited for everyone.
No special skills needed, all this game asks of you is an attentive mind and fast fingers!

“Don't Tap White Tiles” has been updated!Join the real-time battle and compete for higher speed globally!

LIKE US ON FACEBOOK!
http://www.facebook.com/PianoTilesFans

How To Play:
The rules are clear: play your piano but don't ever touch the white tiles.
Sound easy? Give it a try, and see how well you stack up against your friends.
Features
◈ Many awesome game modes so you never get bored
◈ Friend leader boards (Facebook/Twitter)
◈ Customizable classical piano soundtrack
◈ Multicolored themes & dozens of color options
◈ Smooth gameplay
◈ Optimized for high resolution screens
◈ Community support
◈◈◈ Over 160,000,000 downloads worldwide. ◈◈◈
◈◈◈ Over 1,200,000 five-star ratings on the Google Play Store ◈◈◈
◈◈◈ You don't need clones, have fun with the original! ◈◈◈


Follow Us
We'd love to hear your suggestions and comments! We've got loads of improvements and new features planned, so stay tuned!

FOLLOW US ON TWITTER!
http://www.twitter.com/PianoTiles'

Business Cooperation:
Cheetah Mobile is now sincerely inviting all the amazing mobile game developers globally to achieve mutual success! we are looking forward to the great games! Contact us on: [email protected]

Contact Us
Cheetah Mobile is the exclusive agent of Don't Tap The White Tile and Just Get 10. We recommend the best games for Cheetah's 800 million users! Contact us:
[email protected]