我知道我可以使用
aapt d permissions foo.apk
找出某个APK需要哪些权限。但是,如何查看使用了哪些<uses-feature>
代码?
答案 0 :(得分:4)
aapt dump badging
会将<uses-feature>
列为其输出的一部分:
feature-group: label=''
uses-feature: name='android.hardware.camera'
uses-feature-not-required: name='android.hardware.camera.autofocus'
uses-feature-not-required: name='android.hardware.camera.front'
uses-feature-not-required: name='android.hardware.microphone'
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'