列表中的APK所有活动从壳 [英] List all activities within an APK from the shell

查看:87
本文介绍了列表中的APK所有活动从壳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法列出从shell特定的apk文件的所有活动?我发现这个帖子其中介绍了如何列出一个APK的所有活动,但它不是为外壳。

Is there a way to list all the activities of a particular .apk file from the shell? I found this post which describes how to list all the activities in an apk but it is not for the shell.

推荐答案

如果你能apk文件拉出到自己的机器,你可以在 Android SDK中

If you can pull out the apk file to your own machine, you can use the aapt command in the Android SDK

aapt dump xmltree <apk-file> AndroidManifest.xml

该格式是有点令人费解在第一,但所有的信息是存在的。

The format is a bit perplexing at first, but all the info is there.

这篇关于列表中的APK所有活动从壳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆