繁体   English   中英

获取安卓清单<application>可调试的属性值

[英]Get android manifest <application> debuggable property value

检查清单中的 android 可调试属性是否为真。

<application android:allowBackup="true" android:debuggable="true" >

如何以编程方式获取可调试的属性值?

您使用此检查 DEBUGGABLE 是真还是假

(getContext().getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0 

this.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM