Get Package Name
AAPT d badging C:\Users\600844\Desktop\beijingtoon.apk
"Package Launchable-activity"
ADB decices can see the phone currently being debugged by the computer
adb install path/beijingtoon.apk apk
ADB uninstall path/beijingtoon.apk uninstall APK
ADB uninstall-k path/beijingtoon.apk uninstall APK, keep data and cache
ADB Logcat | findstr Start monitoring ADB logs
ADB reboot restart ADB
ADB shell PM List packages displays all app package names on the device
ADB shell PM List packages-s Show all system app package names
ADB shell PM List packages-3 Displays all system app package names, except for the third party add
ADB shell pm List Packages | grep Taobao query for specific package names via grep
Note: Error ' grep ' is not an internal or external command, is not a running program or a batch file
Workaround: The contents of the ADB shell should be quoted in quotation marks so that the error is not reported.
Get the activity for an already installed app and find the category that contains. LAUNCHER "The activity of the word"
ADB shell "Dumpsys package Com.taobao.taobao |grep category. LAU "
ADB shell "Dumpsys package Com.systoon.beijingtoon |grep category. LAU "
ADB shell pm Path Com.taobao.taobao Get the APK path for the installation package
ADB shell am start-n {Package] name}/{package name}. {activity name} Launch app
ADB shell am force-stop <packagename> Force Stop App
Android ADB command