|
下载这个示范代码:http://lbs.amap.com/wp-content/u ... API_Demo_V1.1.0.zip
导入Eclipse后会有三处报错:
(1)代码:private CloudItemDetail item,
报错内容:The value of the field MainActivity.item is not used
(2)代码:Iterator iter = item.getCustomfield().entrySet().iterator();
报错:Iterator is a raw type. References to generic type Iterator<E> should be parameterized
(3)代码:Map.Entry entry = (Map.Entry) iter.next();
报错:Map.Entry is a raw type. References to generic type Map<K,V>.Entry<K,V> should be parameterized
屡试不行,在模拟器也报错。请问大神应该怎么处理?
|
|