006.使用百度地图SDK写Hello BaiduMap 时,报错:The following classes could not be instantiated:
Posted on 2017-11-06 22:51 nextfailure 阅读(3482) 评论(0) 收藏 举报报错分析:
The following classes could not be instantiated:无法实例化以下的类。打开报错信息里的可以点的ContextWrapper相关类后,看到开发工具提示API-26之类的。
1.原因分析:
应该是缺少相应的API项目依赖包。如图:

2.解决办法
点击提示的Download,然后关闭工具重启(重启很有必要)。
浙公网安备 33010602011771号