【Android】adb 查看所有程序包名

adb shell pm list packages
  • 列出所有的包名
$ adb shell pm list packages

package:com.mediatek.mco
package:com.android.providers.telephony
package:com.android.providers.calendar
package:com.android.providers.media
package:com.mediatek.fwk.plugin
package:com.mediatek.schpwronoff
...
  • 可以加上grep查询词
$ adb shell pm list packages | grep 'miui'

package:com.miui.powerkeeper
package:com.miui.fm
package:com.miui.milivetalk
package:com.miui.securityadd
package:com.miui.gallery
package:com.miui.securitycenter
package:com.miui.systemAdSolution
package:com.miui.guardprovider
package:com.miui.backup
package:com.miui.securitycore
package:com.miui.player
package:com.miui.system
package:com.miui.translation.kingsoft
package:com.miui.virtualsim
package:com.miui.compass
package:com.miui.rom
...

你可能感兴趣的:(Android,Android开发笔记)