Location of my apk file in emulator

2019-07-22 14:00发布

问题:

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.

回答1:

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



回答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 .



回答3:

you can run project without make apk just right click on project >> Run as >> android aaplication
but if you want to find apk it is already stay in workspace/your project/bin/name.apk



回答4:

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



回答5:

Use File Explorer from withing the eclipse to see all the files and folders of your emulator.