Top "Android-lint" questions

Android Lint is a tool in ADT which scans Android project sources for potential bugs.

What is "android:allowBackup"?

Since the new ADT preview version (version 21), they have a new lint warning that tells me the next thing on …

android adt compiler-warnings android-lint android-backup-service
This Handler class should be static or leaks might occur: IncomingHandler

I'm developing an Android 2.3.3 application with a service. I have this inside that service to communicate with Main activity: public …

android memory-leaks static-classes android-lint android-handler
Android Lint contentDescription warning

I am getting warning as "[Accessibility] Missing contentDescription attribute on image" for imageview. while using android lint What does that …

android android-layout android-lint
Lint: How to ignore "<key> is not translated in <language>" errors?

I can't compile/debug our Android app, because the localization files are not perfect yet. My IDE's validation tool Lint …

eclipse android-studio localization android-resources android-lint
Avoid Android Lint complains about not-translated string

is it possible to specify that the strings in a file within the value-* directories are purposely not translated into …

android android-resources android-lint
How to solve this : 'Running android lint' issue

In any activity of my project, if i do some changes and then save that activity i got the message "…

android eclipse nullpointerexception android-lint
Missing support for Firebase App Indexing (android lint)

I receive this lint warning when analysing my code (Analyse > Inspect Codes) on Android studios. App is not indexable …

android-studio permissions android-manifest warnings android-lint
AppCompatActivity.onCreate can only be called from within the same library group

After upgrading to appcompat 25.1.0 I've started getting wired errors. In my code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(…

android android-lint android-appcompat
How does setting baselineAligned to false improve performance in LinearLayout?

I was just building some UI in xml, and Lint gave me a warning and said to set android:baselineAligned …

android listview android-lint
Understanding @SuppressLint("NewApi") annotation

I am an android beginner. While trying a code of managing activity life cycle, I encountered a new thing. package …

java android eclipse android-lint