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?
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?
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.
but you wont able to read that unless you have a rooted device
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.->List all the packages by :
->Search for your package name by holding keys "ctrl+alt+f".
->Once found, look for the location associated with it.
An application when installed on a device or on an emulator will install at:
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 thepackage="APP_PACKAGE_NAME"
attribute. Any other packages you may have created in your project in Eclipse do not show up here.You will find the application folder at:
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.