22
无法在未调用Looper.prepare()的线程内创建处理程序
以下异常是什么意思;我该如何解决? 这是代码: Toast toast = Toast.makeText(mContext, "Something", Toast.LENGTH_SHORT); 这是例外: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:121) at android.widget.Toast.<init>(Toast.java:68) at android.widget.Toast.makeText(Toast.java:231)