How to run (not only install) an android application using .apk file?

You can’t install and run in one go – but you can certainly use adb to start your already installed application. Use adb shell am start to fire an intent – you will need to use the correct intent for your application though. A couple of examples: adb shell am start -a android.intent.action.MAIN -n com.android.settings/.Settings … Read more

Android Install on Device Failure [INSTALL_CANCELED_BY_USER]

Happens to my Xiaomi phone after updated it to MIUI 8. Took me hours to figure it out! Check the followings if you’re a victim too: Go to Settings -> Permissions -> Install via USB: Uncheck your App if it’s listed. Go to Settings -> Additional Settings -> Privacy: Check the Unknown Sources option. Finally … Read more