android的ArrayMap类

运行的时候出现:

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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。