开发者

Checking debug/release build

i need to check the build in DEBUG/RELEASE in android on run time. I have search some way for开发者_StackOverflow中文版 it but not working efficiently for like reading PKG and getting information for it.


you can check the application whether it is release mode or debug mode

boolean isDebuggable = (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜