I am working on an apk sharing app for which I need an apk of installed app, I checked this answer. which shows this command
adb pull /data/app/com.example.someapp-2.apk path/to/desired/destination
But when I try this on terminal in android device it shows
/system/bin/sh: adb not found
Is there any alternative command or procedure to the same on android device terminal ?