The above bold text is our app package name which we want to pull from our android.
Adb devices
E:\platform-tools>adb devices
List of devices attached
97z43dslc2bf device
Make sure that you have ADB installed, up and running
Pull apk from android
adbshellpmpath<PACKAGE_NAME># e.g: /data/app/apath/where/itisinstalled/base.apk:'adb : Android Debug Bridge for interacting with a device.shell : Opens a command-line shell on the Android device.pm : Package Manager tool for managing apps.path : Retrieves the path of the APK file for a given app.<package_name> : The unique identifier of the app whose APK path you want to find.'
This will return as path of APK where it's stored in our android,
adbpull<PATH><DESTINATION># e.g: abd pull /data/app/apath/where/itisinstalled/base.apk .\apks\myapk.apk