Avoid hardcoding the debug mode; Warning in Android Manifest

前端 未结 2 391
面向向阳花
面向向阳花 2021-01-03 18:51

After updating my ADT plugin to version 17 I\'m getting a warning massage saying

Avoid hardcoding the debug mode; leaving it out allows debug and rel

2条回答
  •  鱼传尺愫
    2021-01-03 19:44

    Yup, just noticed this too. I removed the debuggable attribute from the manifest, and I can now both run the app in debug mode and export it to a market-ready APK file without changing any code.

    Slick!

    Full explanation here https://stackoverflow.com/a/4580630/682754

提交回复
热议问题