Use source 1.7 or higher
I am getting this error in few source libraries for Android that I am using:
diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)
(Alt-Enter shows hints)
See here for a possible solution for normal Java projects: http://goo.gl/JfWkGD
Since NBAndroid has no Binary/Source format selection, one cannot change this.
Please suggest a solution to this, or better yet, give an option to select the format.