Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are .dex files located after apk installation?

After installation of apk file on android device, where exactly does the dex file get stored or what is done with dex?

Could any one please explain how the installation happens on android device?

like image 618
Shrenik Avatar asked Jul 20 '11 10:07

Shrenik


People also ask

Where are the files located after .APK installation on Android devices?

If you want to locate the APK files in your Android phones, you can find the APK for user-installed apps under /data/app/directory while the preinstalled ones are located in /system/app folder and you can access them by using ES File Explorer.

Where can I find Dex classes?

tools/dex-tools/dex/classes.

What are DEX files in APK?

dex file is a Dalvik Executable file that all Android applications must have. This file contains the Java libraries that the application uses. When you deploy an application for Android, RAD Studio includes a classes. dex file that contains the RAD Studio built-in Java libraries.


2 Answers

dex files are located in the /data/dalvik-cache folder.

like image 172
Nikhil Avatar answered Sep 21 '22 11:09

Nikhil


The apk file is a compressed archive (actually a .zip in disguise) containing all the files needed for your program. It is stored in the data/app folder. The dex files are contained in this archive, which you can extract with any unzip tool.

like image 37
Jems Avatar answered Sep 20 '22 11:09

Jems