读取 Android APK 的包名 [英] Read the package name of an Android APK

查看:25
本文介绍了读取 Android APK 的包名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取 Android APK 的包名称.我试图解压 APK 并读取 AndroidManifest.xml 的内容,但它似乎不是文本文件.

I need to get the package name of an Android APK. I have tried to unzip the APK and read contents of AndroidManifest.xml, but seems it's not a text file.

如何提取APK的包名?

How can I extract the APK's package name?

推荐答案

aapt dump badging <path-to-apk> | grep package:\ name

这篇关于读取 Android APK 的包名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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