Since my oppoR17 type adb link is always offline, we do not find a solution, so use tool for me aapt
Case 1:
Installation package is not installed to the phone
Preparation Prerequisites:
Android 1 SDK directory management tools
2 PC end has apk package
Instructions:
1 open the terminal, the current path to move to the directory management tool sdk tools or build-tools directory (the directory aatp Tool)
2 the aapt dump badging + apk path \ apk name | findstr package (see apk package name)
3 the aapt dump badging + APK path \ apk name | findstr activity (see activity name)
Case 2:
Installation package has been installed to the phone
Preparation Prerequisites:
1 adb tool
Mobile terminal 2 has been installed apk package
Instructions:
1 start moving end APP
Input terminal 2: adb shell dumpsys window w | findstr \ / | findstr name =