adb 查找应用包名,应用 Activity 等信息

列出设备上的包

不使用参数:adb shell pm list packages,打印设备/模拟器上的所有软件包

根据包名查看应用的activity

命令: dumpsys package 包名

adb shell dumpsys package 包名

petrel-cv96d:/data/app # dumpsys package com.install.service.store

Activity Resolver Table:

Non-Data Actions:

android.intent.action.MAIN:

d10dadb com.install.service.store/.SplashAdActivity filter 3c37b2e

Action: "android.intent.action.MAIN"

Category: "android.intent.category.LAUNCHER"

AutoVerify=false

Receiver Resolver Table:

Non-Data Actions:

android.app.action.DEVICE_ADMIN_DISABLED:

33e1978 com.install.service.store/.ActivateDeviceAdminReceiver filter 2e879a9

Action: "android.app.action.DEVICE_ADMIN_ENABLED"

Action: "android.app.action.DEVICE_ADMIN_DISABLED"

AutoVerify=false

android.app.action.DEVICE_ADMIN_ENABLED:

33e1978 com.install.service.store/.ActivateDeviceAdminReceiver filter 2e879a9

Action: "android.app.action.DEVICE_ADMIN_ENABLED"

Action: "android.app.action.DEVICE_ADMIN_DISABLED"

AutoVerify=false

Registered ContentProviders:

com.install.service.store/android.support.v4.content.FileProvider:

Provider{8039851 com.install.service.store/android.support.v4.content.FileProvider}

ContentProvider Authorities:

com.install.service.store.provider\]: Provider{8039851 com.install.service.store/android.support.v4.content.FileProvider} applicationInfo=ApplicationInfo{196b8b6 com.install.service.store} Key Set Manager: \[com.install.service.store

Signing KeySets: 12

Packages:

Package [com.install.service.store] (c3849b7):

userId=10041

pkg=Package{4f75524 com.install.service.store}

codePath=/data/app/com.install.service.store-1

resourcePath=/data/app/com.install.service.store-1

legacyNativeLibraryDir=/data/app/com.install.service.store-1/lib

primaryCpuAbi=null

secondaryCpuAbi=null

versionCode=228 minSdk=15 targetSdk=26

versionName=2.2.8

splits=[base]

apkSigningVersion=2

applicationInfo=ApplicationInfo{196b8b6 com.install.service.store}

flags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

privateFlags=[ RESIZEABLE_ACTIVITIES ]

dataDir=/data/user/0/com.install.service.store

supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]

timeStamp=2023-08-29 16:03:43

firstInstallTime=2023-08-29 16:03:43

lastUpdateTime=2023-08-29 16:03:43

signatures=PackageSignatures{718688d [a44f5cd2]}

installPermissionsFixed=true installStatus=1

pkgFlags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]

requested permissions:

android.permission.INTERNET

android.permission.READ_PHONE_STATE

android.permission.ACCESS_NETWORK_STATE

android.permission.ACCESS_WIFI_STATE

android.permission.CHANGE_WIFI_STATE

android.permission.REQUEST_INSTALL_PACKAGES

android.permission.WRITE_EXTERNAL_STORAGE

android.permission.FOREGROUND_SERVICE

android.permission.READ_EXTERNAL_STORAGE

install permissions:

android.permission.INTERNET: granted=true

android.permission.CHANGE_WIFI_STATE: granted=true

android.permission.ACCESS_NETWORK_STATE: granted=true

android.permission.ACCESS_WIFI_STATE: granted=true

android.permission.REQUEST_INSTALL_PACKAGES: granted=true

User 0: ceDataInode=33314 installed=true hidden=false suspended=false stopped=true notLaunched=true enabled=0

gids=[3003]

runtime permissions:

Dexopt state:

com.install.service.store

Instruction Set: arm

path: /data/app/com.install.service.store-1/base.apk

status: /data/app/com.install.service.store-1/oat/arm/base.odex [compilation_filter=interpret-only, status=kOatUpT

相关推荐
LuLaLuLaLeLLLLLL12 小时前
MySQL 调优笔记
笔记·mysql·adb
feifeigo1231 天前
python从环境变量和配置文件中获取配置参数
开发语言·python·adb
fatiaozhang95271 天前
中兴B860AV1.1江苏移动-自动降级包
android·adb·电视盒子·av1·魔百盒刷机·魔百盒固件
fatiaozhang95272 天前
中兴B860AV1.1强力降级固件包
android·adb·电视盒子·av1·机顶盒rom·魔百盒刷机
fatiaozhang95272 天前
中兴B860AV1.1_晨星MSO9280芯片_4G和8G闪存_TTL-BIN包刷机固件包
android·linux·adb·电视盒子·av1·魔百盒刷机
fatiaozhang95272 天前
中兴B860AV1.1_MSO9280_降级后开ADB-免刷机破解教程(非刷机)
android·adb·电视盒子·av1·魔百盒刷机·移动魔百盒·魔百盒固件
微信公众号:AI创造财富2 天前
adb 查看android 设备的硬盘及存储空间
android·adb
码上无bug3 天前
三星手机Galaxy S24 Ultra使用adb工具关闭和开启系统更新
adb·智能手机·三星手机·关闭系统升级
不爱搬砖的码农5 天前
windows系统MySQL安装文档
windows·mysql·adb
水银嘻嘻6 天前
adb 连不上真机设备问题汇总
adb