terça-feira, 21 de julho de 2015

How to find the APK file and copy to disk


1) [list of all packages]


C:\Users\flapuinka>adb shell pm list packages
 Output:

package:Mono.Android.DebugRuntime
package:Mono.Android.Platform.ApiLevel_21
package:android
package:com.android.backupconfirm
package:com.android.bluetooth
package:com.android.browser
package:com.android.calculator2
package:com.android.calendar
package:com.android.camera
package:com.android.certinstaller
package:com.android.contacts
package:com.android.customlocale2
package:com.android.defcontainer
package:com.android.deskclock
package:com.android.development
package:com.android.development_settings
package:com.android.dreams.basic
package:com.android.dreams.phototable
package:com.android.email
package:com.android.exchange
package:com.android.galaxy4
package:com.android.gallery
package:com.android.gesture.builder
package:com.android.htmlviewer
package:com.android.inputdevices
package:com.android.inputmethod.latin
package:com.android.inputmethod.pinyin
package:com.android.keychain
package:com.android.launcher
package:com.android.location.fused
package:com.android.magicsmoke
package:com.android.mms
package:com.android.music
package:com.android.musicfx
package:com.android.musicvis
package:com.android.noisefield
package:com.android.packageinstaller
package:com.android.phasebeam
package:com.android.phone
package:com.android.providers.applications
package:com.android.providers.calendar
package:com.android.providers.contacts
package:com.android.providers.downloads
package:com.android.providers.downloads.ui
package:com.android.providers.drm
package:com.android.providers.media
package:com.android.providers.settings
package:com.android.providers.telephony
package:com.android.providers.userdictionary
package:com.android.provision
package:com.android.quicksearchbox
package:com.android.settings
package:com.android.sharedstoragebackup
package:com.android.smspush
package:com.android.soundrecorder
package:com.android.systemui
package:com.android.videoeditor
package:com.android.voicedialer
package:com.android.vpndialogs
package:com.android.wallpaper
package:com.android.wallpaper.holospiral
package:com.android.wallpaper.livepicker
package:com.companyname.xamarintestlab
package:com.companyname.xamarintestlab.test
package:com.cyanogenmod.filemanager
package:com.example.android.apis
package:com.example.android.livecubes
package:com.genymotion.superuser
package:com.svox.pico
package:jp.co.omronsoft.openwnn

2) Check the APK File

adb shell pm path Mono.Android.DebugRuntime

Output:
 
package:/data/app/Mono.Android.DebugRuntime-1.apk

3) Copy the APK from the Emulator to disk.

C:\Users\flapuinka>adb pull /data/app/Mono.Android.DebugRuntime-1.apk
7297 KB/s (16441076 bytes in 2.200s)

Postar um comentário