摘要:
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 阅读全文