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)
利用高德地图导航一直给我无法实例化 MapView类。我简直无言了
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-