码迷,mamicode.com
首页 > 移动开发 > 详细

android的ArrayMap类

时间:2015-05-02 21:54:47      阅读:2332      评论:0      收藏:0      [点我收藏+]

标签:

运行的时候出现:

java.lang.NoClassDefFoundError: android.util.ArrayMap


http://stackoverflow.com/questions/24574323/crash-with-android-4-1-with-arraymap
找到的答案:
ArrayMap was introduced in Api level 19, but it was also released in the compatibility library v4, so it would be enough to change the import to android.support.v4.util.ArrayMap instead of android.util.ArrayMap


android.support.v4.util.ArrayMap 替换 android.util.ArrayMap

android的ArrayMap类

标签:

原文地址:http://www.cnblogs.com/wjx0912/p/4472473.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!