Dean Blakely
Dean Blakely

Reputation: 3595

how to get an .apk from my phone to restore my source files

I was importing a .java file from one project to another in Eclipse. In doing so, Eclipse deleted all my .java files and my .apk files from the source project. I know I can rebuild them from an .apk file but the only current one is on my LG phone.

How can I get the .apk off my phone an onto my PC? Do I have to root the phone so that I can see the Data folder? I have Android File Manager but I don't see how to upload to the pc. Thanks, Gary

Upvotes: 1

Views: 1697

Answers (2)

kabuko
kabuko

Reputation: 36302

You don't actually need root to pull your APKs from your device. This command will list the location of the APK:

adb shell pm list packages -f

Then you can use adb pull:

adb pull <APK path from previous command>

You shouldn't need root for this.

Upvotes: 6

apLundell
apLundell

Reputation: 186

If you can see the file in your phone's File Manager, why not simply email it to yourself?

Upvotes: 0

Related Questions