利用高德地图导航一直给我无法实例化 MapView类。我简直无言了

Rendering Problems The following classes could not be instantiated:
- com.amap.api.maps.MapView (Open Class, Show Exception, Clear Cache)
Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE Exception Details java.lang.IndexOutOfBoundsException: Index: 16842972, Size: 4   at java.util.ArrayList.rangeCheck(ArrayList.java:653)   at java.util.ArrayList.get(ArrayList.java:429)   at android.util.XmlPullAttributes.getAttributeValue(XmlPullAttributes.java:42)   at android.util.BridgeXmlPullAttributes.getAttributeValue(BridgeXmlPullAttributes.java:33)   at android.util.BridgeXmlPullAttributes.getAttributeIntValue(BridgeXmlPullAttributes.java:206)   at com.android.layoutlib.bridge.android.BridgeXmlBlockParser.getAttributeIntValue(BridgeXmlBlockParser.java:431)   at com.amap.api.maps.MapView.   ... (MapView.java:56)   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)   at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)   at android.view.LayoutInflater.inflate(LayoutInflater.java:492)   at android.view.LayoutInflater.inflate(LayoutInflater.java:394) Copy stack to clipboard Couldn't resolve resource @string/location_here (5 similar errors not shown)

http://www.cnblogs.com/rainday1/p/5550857.html

location_here 这个在string 里面没有找到。检查下 你的R.java 出来了吗?

拿个 高德地图的demo 对比下吧, 仔细看看

这个好像是导包导错了,有个maps,这是3d的,还有个map2d的。这是2d图的,我换了2d就没错了