0
点赞
收藏
分享

微信扫一扫

Android debugaable值的设置

  • 使用AndroidStudio打包的APK,被检测:
    在manifest.xml中定义Debuggable项,如果该项被打开,app存在被恶意程序调试的风险,可能导致泄漏敏感信息泄漏等问题。
  • 如果在AndroidManifest.xml里写:
<application android:debugaable="false"
  • 则AndroidStudio提示:
Avoid hardcoding the debug mode;leaving it out allows debug and release builds to automatically assign one...

这是因为:manifest.xml的Debuggable不需要手工设置值,它是在编译时自动处理值的。
对于ionic项目,只需要运行

ionic build android --release


举报

相关推荐

0 条评论