public boolean isApkDebugable() {//debug 返回true release 返回falsetry {ApplicationInfo info = getApplicationInfo();return (info.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;} catch (Exception e) {}return false;}
这是我从别的地方co的
详细解决方案
判断apk是debug还是release
热度:92 发布时间:2023-10-15 10:06:42.0
相关解决方案
- servlet.xml中的path,docBase,debug,reloadable,crossContext诀别代表是什么参数
- 同时支持 debug release解决方案
- 64位WIN7,安装Crystal reports XI Release 2的有关问题
- Crystal Reports XI Release 2怎么制作折线柱状的混合图
- release/debug版本的困惑
- 异常3未能找到元数据文件“C:\Users\fe\Desktop\新闻发布\NewsModels\bin\Debug\NewsModels.dll”Ne
- <compilation defaultLanguage="vb" debug="true" />的有关问题
- 是用 #if DEBUG 还是用 if(flag) 来区分开发与产品版本,该怎么解决
- VS2008 中 Publish Web Site 能生成 DEBUG 版本的 dll 吗?解决方法
- ???????小白请问:未能找到元数据文件“G:\NetFiles\LibrarySystem\Model\bin\Debug\Model.dll”
- 关于 VS05 Debug 的时候自动启动解决方案中的多个WebSite?该怎么处理
- machine debug manager解决思路
- Specified file '\Symbian\9.1\S60_3rd_MR\EPOC32\RELEASE\WINSCW\UDEB\.lib' not found 什么意思?解决方案
- Debug PC 机主板上的ROM上的生产日期,该怎么处理
- DEBUG.EXE窗口的滚动条如何设置啊
- How to set the ColdFusion Studio's debug enviroment ?解决思路
- How to set the ColdFusion Studio's debug enviroment ?该怎么处理
- Debug certificate expired on提醒调试认证过期
- Debug java代码
- could not open'F/Debug/java/jre/lib/amd64/jvm.cfg'是怎么回事啊?
- 一下phpeclipse 如何设置段断点调试 debug 啊 啊 !
- zend9.0.2 debug 调试如何使用
- 怎么使用Fiddler Debug HtmlUnit
- zend debug,求教 ,解决办法
- 一下phpeclipse 如何设置段断点调试 debug
- 关于php debug pack 有关问题
- wcf svc资料 Debug="true" 可以设置成false吗
- Debug 模式下断点太多能导致 Spring 的initWebApplicationContext 加载时间过长
- tomcat7 远路 DEBUG
- Java低级中级面试题(release)