Avoid hardcoding the debug mode; Warning in Android Manifest

前端 未结 2 411
面向向阳花
面向向阳花 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:52

    Ran into this myself today and was frustrated with the accepted answer; I don't want to trust Eclipse to "do the right thing" when it so often doesn't.

    The answer to the question asked is to go to Window->Preferences->Android->Lint Error Checking or Project Properties->Android Lint Preferences and change the severity of the warning.

提交回复
热议问题