-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Lint error #103
Comments
This warning can safely be ignored. |
Safely ignore this? If lint says it's a problem, then I would think that it
cannot be ignored.
Can you elaborate on why it is safe to ignore that error?
…On 5 Dec 2016 3:02 p.m., "Benoit Lubek" ***@***.***> wrote:
This warning can safely be ignored.
You can add @SuppressLint("StaticFieldLeak") manually for now, and I will
add it to the generated code in the next version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKzuTR9DR7K-chAzU-bfSVTMjQqc7sfQks5rFBmIgaJpZM4LDlXt>
.
|
Sorry, you are wrong about this. The problems reported by lint have different severities (errors, warnings, info, etc.). This one is a warning.
In this particular case, the generated code already has something to say about this (look at the comment inside |
I generated a simple content provider and I get this when i run Android Lint on the newly generated classes:
This is located in the generated
...SQLiteOpenHelper extends SQLiteOpenHelper
class.The text was updated successfully, but these errors were encountered: