方法一:經過cmd命令,前提是先打開手機中你要獲取包名的APPshell
1.adb shellapp
2.dumpsys activity | grep mFocusedActivityblog
方法二:經過反編譯來獲取包名及入口cmd
1.經過cmd命令將軟件安裝在手機上:adbinstall F:\app-release.apkit
2.反編譯進行獲取包名:aapt dump badging F:\app-release.apk編譯
3.若是路徑未在aapt.exe文件夾,記得切換路徑到aapt.exe文件夾下 執行反編譯,否則沒法編譯成功sed