Friday, June 03, 2011

Android ADT Eclipse: Unknown error: java.lang.NullPointerException

Do you have this error?

[2011-06-03 09:52:51 - AndroidSamNinteen] Unknown error: java.lang.NullPointerException

If you have this error, GIVE UP NOW.

This error cannot be fixed.

Eclipse is corrupted in a way that cannot be recovered.

the only solution I have ever found (sixth time) is the second you see this error, remove everything, delete all files and start over.

1. New install of Eclipse
2. New install of ADT
3. Recreate project by hand (import source files)
4. Now it will build

1 comment:

Anonymous said...

Without pain and suffering, success is meaningless. That is why I use Eclipse.