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

Android -- java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

时间:2016-09-04 15:49:15      阅读:568      评论:0      收藏:0      [点我收藏+]

标签:

使用Bundle 的getParcelableArray 出现了以下错误:

Class not found when unmarshalling
java.lang.ClassNotFoundException
java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

这个可能就需要设置下ClassLoader, 比如:

Bundle bundleGet = msg.getData();
bundleGet.setClassLoader(XXX.class.getClassLoader());

Android -- java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

标签:

原文地址:http://www.cnblogs.com/yarightok/p/5839422.html

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