拿到包亚行可发射活动名称 [英] get launchable activity name of package from adb
本文介绍了拿到包亚行可发射活动名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法让从使用亚行包可发射活动?对于unroot电话(即不具有/数据/应用程序目录中的拉APK,检查与聘任)。
Is there a way to get the launchable activity for a package from using adb? For an unroot phone (i.e. without having the pull the apk from /data/app directory and inspect with appt).
我试图dumpsys,但它不包括可启动的默认的活动信息。
I tried dumpsys, but it does not include information on default launchable activity.
感谢
推荐答案
您不必根从 /数据/应用程序
拉的apk文件。当然,你可能没有权限列出目录的内容,但你可以找到的APK的文件位置有:
You don't need root to pull the apk files from /data/app
. Sure, you might not have permissions to list the contents of that directory, but you can find the file locations of APKs with:
adb shell pm list packages -f
然后你可以用亚行拉
:
adb pull <APK path from previous command>
然后 AAPT
来得到你想要的信息:
and then aapt
to get the information you want:
aapt dump badging <pulledfile.apk>
这篇关于拿到包亚行可发射活动名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文