Essential Android Lint Warnings edit forum

Using tools ignore in xml files

The attribute tools:ignore can be used in xml files to dismiss lint warnings.

BUT dismissing lint warnings with this technique is most of the time the wrong way to proceed.

A lint warning must be understood and fixed… it can be ignored if and only if you have a full understanding of it’s meaning and a strong reason to ignore it.

Here is a use case where it legitimate to ignore a lint warning:

Then you can do this in your manifest : (i.e. requesting the protected permission and ignoring the lint warning because you know that in your case the permission will be granted)

<manifest xmlns:android=""
    <uses-permission android:name="android.permission.SET_TIME"

Table Of Contents
17 Lint Warnings
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close