【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
...
    原文作者:Mlib
    原文地址: https://blog.csdn.net/u010983881/article/details/69230627
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞