Caused by: java.lang.InstantiationException: can't instantiate class报错记录
E/AndroidRuntime(15377):Causedby:java.lang.InstantiationException:can'tinstantiateclasscom.*.*.FriendsActivity;noemptyconstructor在用fragment做跳转的时候出现的错误记录解决办法:是因为该Fragment没有使用空参的构造函数,补上--publicFriendsAc