Android adb shell 查询当前设备所有安装应用包名

很简单,一条命令搞定

首先确保设备连接上电脑

然后在cmd命令行中输入adb shell pm list packages命令并回车

结果如下所示,输出的包名包括系统预装应用和我们自己装的所有应用的包名

C:\Users\Him>adb shell pm list packages
package:com.huawei.internetaudioservice
package:com.android.defcontainer
package:com.tencent.mm
package:com.example.android.notepad
package:com.sohu.newsclient
package:com.android.quicksearchbox
package:com.android.contacts
package:com.huawei.wifihotspot
package:com.huawei.hwid
package:com.huawei.mmitest2
package:com.android.phone
package:com.duomi.android
package:com.android.calculator2
package:com.huawei.phoneservice
package:com.huawei.android.airsharingcast
package:com.huawei.android.wifitrafficmonitor
package:com.android.htmlviewer
package:com.huawei.powergenie
package:com.huawei.android.WeatherWallpaper
package:com.google.android.gsf.login
package:com.android.providers.calendar
package:com.android.bluetooth
package:com.huawei.bluetooth
package:com.android.calendar
package:com.android.browser
package:com.huawei.magnifier
package:com.android.huawei.countlapsetime
package:com.android.onetimeinitializer
package:com.android.providers.downloads.ui
package:com.huawei.icos.ar
package:com.android.documentsui
package:com.android.sharedstoragebackup
package:com.android.vpndialogs
package:com.android.mms
package:com.android.provision
package:com.huawei.gamebox
package:com.android.huawei.projectmenu
package:com.android.providers.media
package:com.huawei.flashlight
package:com.huawei.android.pushagent
package:com.huawei.motionservice
package:com.android.certinstaller
package:cn.wps.moffice_i18n
package:com.huawei.hwstartupguide
package:com.sohu.sohuvideo
package:com.google.android.gms
package:com.infinit.wostore.ui
package:com.android.dreams.phototable
package:com.android.settings
package:org.simalliance.openmobileapi.service
package:com.sinovatech.unicom.ui
package:com.huawei.dataservicediagnose
package:com.huawei.systemmanager
package:com.android.gallery3d
package:com.baidu.input_huawei
package:com.android.musicvis
package:com.android.exchange
package:com.youdao.dict
package:com.android.wallpaper.livepicker
package:com.huawei.android.hwouc
package:com.android.packageinstaller
package:com.android.providers.telephony
package:com.android.providers.agps
package:com.svox.pico
package:com.huawei.mmifunction
package:com.android.noisefield
package:com.android.email
package:com.android.mediacenter
package:com.nuance.swype.emui
package:com.android.wallpapercropper
package:com.android.location.fused
package:com.android.backupconfirm
package:com.android.magicsmoke
package:com.huawei.android.AutoRegSms
package:com.android.providers.settings
package:com.huawei.android.totemweather
package:com.huawei.android.karaokeeffect
package:com.android.providers.downloads
package:com.huawei.ims
package:com.huawei.android.airsharing
package:com.android.phasebeam
package:com.tencent.mtt
package:com.android.hwmirror
package:com.android.soundrecorder
package:com.autonavi.minimap
package:com.huawei.android.ds
package:com.neusoft.td.android.wo116114
package:com.android.inputmethod.latin
package:com.android.proxyhandler
package:com.huawei.KoBackup
package:com.android.inputdevices
package:com.android.wallpaper.holospiral
package:com.huawei.lcagent
package:com.mypackage.appname
package:com.android.stk
package:com.huawei.android.airsharingcastclient
package:com.huawei.omacp
package:com.android.providers.userdictionary
package:com.chaozh.iReaderFree15
package:com.tencent.mobileqq
package:com.android.pacprocessor
package:com.baidu.searchbox_huawei
package:com.huawei.android.nff
package:androidhwext
package:com.android.galaxy4
package:com.vmall.client
package:com.android.printspooler
package:android
package:com.android.providers.contacts
package:com.asiainfo.android
package:com.huawei.android.mewidget
package:com.huawei.android.apkbatchinstall
package:com.android.protips
package:com.android.externalstorage
package:com.huawei.android.thememanager
package:com.android.providers.applications
package:com.mobiletools.systemhelper
package:com.android.dreams.basic
package:com.huawei.bd
package:com.him.stickyheader
package:com.huawei.android.hwpay
package:com.android.apps.tag
package:com.huawei.android.calendarwidget
package:com.huawei.android.FMRadio
package:com.android.systemui
package:com.huawei.android.multiscreen
package:com.sina.weibo
package:com.huawei.wo3g
package:com.android.keychain
package:com.huawei.vassistant
package:com.android.smspush
package:com.huawei.vdrive
package:com.android.wallpaper
package:com.mt.mtxx.mtxx
package:com.android.providers.streaming
package:com.android.deskclock
package:com.meitu.mtxx.huawei
package:com.huawei.appmarket
package:com.google.android.gsf
package:com.huawei.hidisk
package:com.android.keyguard
package:com.android.shell
package:com.huawei.audioalgoservice
package:com.tiantian.android.player.video
package:com.huawei.android.wfdft
package:com.huawei.android.launcher

C:\Users\Him>

 

posted @ 2019-04-06 14:07  野猿新一  阅读(105)  评论(0编辑  收藏  举报