Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android get .apk file from emulator

Tags:

android

apk

I am newbie to the android development. Just out of curiosity i was wondering if it is possible to get back installed .apk file from android emulator ???

like image 325
Shabbir Panjesha Avatar asked Jan 15 '13 07:01

Shabbir Panjesha


1 Answers

The question linked by @thepoosh indeed has some correct answers to your question, but it is not the accepted answer. Scroll down a bit to answer of either @plaisthos or @Pratik.

In short: your .apk resides in the /data/app directory on your emulator. Note: It probably has a name that differs from the name of the .apk file on your build machine, since the .apk get renamed to something that looks like your package name.

So, using adb shell: - cd /data/app - ls (and check the name of your .apk file) - exit adb shell - on commmandprompt: adb pull /data/app/your.filename.apk

Or from Eclipse use the fileexplorer tab as stated by @Pratik in the other thread.

like image 151
baske Avatar answered Sep 27 '22 18:09

baske