4

I wrote a small program in eclipse -android.Now i installed and i am running my program which is an .apk Now i want to know where my .apk file is there and i even want to "pull" it into my system. Is it possible? If so kindly help me.

sai sindhu
  • 1,155
  • 5
  • 20
  • 30
  • possible duplicate of [How do I get an apk file from an Android device?](http://stackoverflow.com/questions/4032960/how-do-i-get-an-apk-file-from-an-android-device) – plaisthos May 08 '15 at 08:29

5 Answers5

2

Yes should be possible. Do a adb shell and look under /data/apps (e.g. ls /data/apps). Once you know the filename you can do adb pull filename .

plaisthos
  • 6,255
  • 6
  • 35
  • 63
2

If you just want the apk to install on a phone or similar use File -> Export -> Android Application

Daniel Frear
  • 1,459
  • 14
  • 22
  • Upvoted because this is the best way to do this, but I did have to generate a key file -- a bunch of steps to go through. If I had the path to the apk then I can just copy it to my device since it uses the debug key. – raddevus May 07 '15 at 20:39
2

You can run project without make apk, just right click on project >> Run as >> android application.

But if you want to find apk, it is already in workspace/your project/bin/name.apk

Lore
  • 1,286
  • 1
  • 22
  • 57
Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133
1

Yes it is possible you can also get from the ddms window into the eclipse. In the ddms select the device from the device window at left side and at right side you getting the tabbed window File Explorer, logcat, console etc.

Select File Explorer->data->app

here you getting the list of all the apk files select it and pull it by using right to top button of this File Explorer window.

see this image

ddms view

Pratik
  • 30,639
  • 18
  • 84
  • 159
0

Use File Explorer within Eclipse to see all the files and folders of your emulator.

Lore
  • 1,286
  • 1
  • 22
  • 57
Khawar Raza
  • 15,870
  • 24
  • 70
  • 127