user2129794
user2129794

Reputation: 2418

Where does Android app package gets installed on phone

I have installed an Android app on my phone which I have created myself on java. The App got successfully installed on the device but I am not able to locate the package where it has installed.

How to find the path of the installed application?

Upvotes: 31

Views: 151652

Answers (6)

kamran khader
kamran khader

Reputation: 349

->List all the packages by :

adb shell su 0 pm list packages -f

->Search for your package name by holding keys "ctrl+alt+f".

->Once found, look for the location associated with it.

Upvotes: 3

flame3
flame3

Reputation: 2992

System apps installed /system/app/ or /system/priv-app. Other apps can be installed in /data/app or /data/preload/.

Connect to your android mobile with USB and run the following commands. You will see all the installed packages.

$ adb shell 

$ pm list packages -f

Upvotes: 13

Sdra
Sdra

Reputation: 2347

The package it-self is located under /data/app/com.company.appname-xxx.apk.

/data/app/com.company.appname is only a directory created to store files like native libs, cache, ecc...

You can retrieve the package installation path with the Context.getPackageCodePath() function call.

Upvotes: 2

Siddharth Lele
Siddharth Lele

Reputation: 27748

An application when installed on a device or on an emulator will install at:

/data/data/APP_PACKAGE_NAME

The APK itself is placed in the /data/app/ folder.

These paths, however, are in the System Partition and to access them, you will need to have root. This is for a device. On the emulator, you can see it in your logcat (DDMS) in the File Explorer tab

By the way, it only shows the package name that is defined in your Manifest.XML under the package="APP_PACKAGE_NAME" attribute. Any other packages you may have created in your project in Eclipse do not show up here.

Upvotes: 6

Emil Adz
Emil Adz

Reputation: 41099

You will find the application folder at:

/data/data/"your package name"

you can access this folder using the DDMS for your Emulator. you can't access this location on a real device unless you have a rooted device.

Upvotes: 39

DjHacktorReborn
DjHacktorReborn

Reputation: 2928

/data/data/"your app package name " 

but you wont able to read that unless you have a rooted device

Upvotes: 1

Related Questions