Question

I'm trying Android development under Archlinux with Eclipse Kepler SR2 from standard Arch repository. I use ru_RU.UTF8 locale.

I meet that basic 'Hello, World!" don't pass lint test. Is it okay?

I'm not sure it is a good idea to ignore it for newbies, because it looks like it is the only tool helps validating code on android-specific mistakes beyond of java translator.

So... What should i do? a) Fix that errors and continue, b) Switch that warnings in lint settings of project or c) ignore at all lint validator.

Thank you in advance...

Was it helpful?

Solution

I had the ssame issue. I quit Eclipse and relaunched it. Then Under the project menu I selected "clean" and "clean all projects". After that just chose plain old run and it worked fine.

OTHER TIPS

Lint should not be used in this stage. The problem are solved easy by removing all messages in Lint warnings window and running application in standard way. Sample code of "Hello World!" provided by Android SDK is not valid code from LINT PoV. it is just a minimal piece of code required for working application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top