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

learn more… | top users | synonyms

0
votes
0answers
5 views

Writing Custom Rule for Android-Lint

Q (tldr;): How do I use the JavaScanner in android-lint to check if a particular function call with a specific string as a parameter has been surrounded by a try/catch block. Details: I have ...
1
vote
4answers
46 views

Why does Android Lint say “Call requires API level 8 (Current min is 8)”?

I could understand if the API level required by the call was higher than the minimum, but why should it be a problem if it's equal to the minimum?
0
votes
2answers
84 views

Call requires API level 16 (current min is 14): android.app.Notification.Builder#build

The documentation says Notification.Builder is Added in API level 11. Why I get this lint error? Call requires API level 16 (current min is 14): android.app.Notification.Builder#build ...
1
vote
2answers
53 views

Is it possible to TextView#getMaxLines() on pre api-16 devices?

I used TextView#getMaxLines() in my application for a few weeks without incident. Lint is now informing me that it's only available in API 16+ (#setMaxLines() is API 1+...), though (to the best of my ...
1
vote
1answer
80 views

Using Twitter4j in android, getting lint error in library - Invalid package reference in library

Hey guys I am using twitter4j in an android app for using twitter API. Everything works fine, and I have no problem with the library. Today I ran lint and getting lint errors in the ...
0
votes
1answer
56 views

How can I manage Lint ignore/exclusion list in Eclipse?

In Eclipse for an Android project I had some warnings in xml files and added some of them in Lint ignore/exclusion list via the quick fix window using "Disable Check In This File Only". Now I would ...
1
vote
1answer
1k views

Consider TextView to be selectable

I have the following warning (from the Lint) on each TextView with an ID in my XMLs. Consider making the text value selectable by specifying android:textIsSelectable="true" Can anyone please ...
0
votes
2answers
1k views

Hide warnings in layout files

I updated Eclipse and SDK and now in every xml file the TextViews have the warning "Consider making the text value selectable by specifying android:textIsSelectable="true"". Is it possible to hide ...
0
votes
1answer
43 views

Android Drawble XHDPI only - avoid lint warning

In my project I have drawables that are used only in case of tablets. So if I put the images on the XHDPI, lint complains that the image should be in the other dimensions too. Is ignoring lint the ...
7
votes
3answers
230 views

Using FloatMath or Math and a cast?

In the latest update of the Android API the FloatMath is marked with the following lint-warning: In older versions of Android, using android.util.FloatMath was recommended for performance ...
0
votes
1answer
84 views

Problems with generated lint.xml from ADT

I work in a team with multi-platform environments and we're having some issues with the generated lint.xml file. This file is also used by our Jenkins build system which is running on Mac OS X (it ...
1
vote
3answers
99 views

Every time i make some changes android lint error comes…why so?

I am using robotium tool in eclipse to create test cases. My doubt is every time i make any changes in any of the file i get error like Call requires API level 3 (current min is 1)... Android Lint ...
3
votes
2answers
158 views

Fatal Lint Erorr during exporting of signed app

I'm trying to export a signed android app, but I encountered this lint error: And when I go into the xml to look at it, this happens: Is there a way to solve this so that I can continue to sign ...
0
votes
3answers
351 views

Android Lint limit languages to check for missing translations

My app supports only 2 languages - English and German. So I have such folders structure for languages strings: myproject/res/values/strings.xml myproject/res/values-de/strings.xml When I ...
0
votes
1answer
160 views

Lint: “<key> is not translated in <language>” error

My Android app recently started throwing Lint errors when compiling. I'm getting <key> is not translated in <language>. It tells me If an application has more than one locale, then all the ...

1 2 3 4 5
15 30 50 per page