2013年4月6日
摘要: asmack查询用户,searchForm出现nullpointer的解决办法。原因:the smack.providers file, usually in /META-INF folder in normal versions of smack, can't be loaded in Android because its jar packaging. So all the providers must be initialized by hand大概是说由于smack.providers 的文件不能载入asmack中导致的。所以必须我们自己手动载入一个。先复制下面代码:publi 阅读全文
posted @ 2013-04-06 16:09 小计天空 阅读(434) 评论(0) 推荐(0) 编辑