I've found a solution to this problem if I'm using Eclipse.
However, I can't find this in Android Studio (version 1.0). When I'm building my project, I'm currently getting multiple errors from the appcompat_v7 library and many more warnings as well. I just want to make Lint skip testing all libraries.
After searching for some time, I found the answer in the official lint documentation on http://developer.android.com/tools/debugging/improving-w-lint.html#studio_config