异常:Can't create handler inside thread that has not called Looper.prepare()

Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare():



异常原因: 在AsyncTask的 DoInBackground()中执行了Toast;


举一反三:异步任务中不能再嵌套异步任务;

你可能感兴趣的:(总结)