public static boolean isDebugVersion(Context context) {
   try {
      ApplicationInfo info = context.getApplicationInfo();
      return (info.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
   } catch (Exception e) {
      e.printStackTrace();
   }
   return false;
}
 

 

相关文章:

  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2021-04-10
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案