我尝试使用以下代码:
ArrayList<String>
Map<String, String>
Run Code Online (Sandbox Code Playgroud)
Eclipse抱怨它们两者:语法错误,参数化类型仅在源级别为1.5时才会出现.
我使用JDK 1.6,但即使我去编译器并将合规性切换到1.5.它仍然给我这个错误.任何想法为什么?
我安装了新的ADT:http://developer.android.com/sdk/index.html? hl = sk 然后我安装了:

当我进入Eclipse自述文件目录时,有:
Eclipse Project发行说明
版本4.3.0最后修订日期为2013年5月29日
我创建了新的Android应用程序,然后右键单击它 - > Google-> Generate Google App Engine Backend,这就是我得到的:
Description Resource Path Location Type
The import android.os.Build is never used MainActivity.java /A/src/com/uniquebullshit/a line 12 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater MessageData.java /A-AppEngine/src/com/uniquebullshit/a line 22 Java Problem
Syntax error, annotations are only available if source level is 1.5 or greater DeviceInfoEndpoint.java /A-AppEngine/src/com/uniquebullshit/a line 21 Java Problem
Syntax error, annotations are …Run Code Online (Sandbox Code Playgroud)