四月天2021

关注

Android: an‘t toast on a thread that has not called Looper.prepare

四月天2021

关注

阅读 68

2022-07-27


   Looper.prepare();                         Toast.makeText(getApplicationContext(),strTemp,Toast.LENGTH_LONG).show();
Looper.loop();


相关推荐

卿卿如梦

Android在子线程里使用Toast报错Can't toast on a thread that has not called Looper.prepare()

卿卿如梦 63 0 0

辰鑫chenxin

安卓子线程吐司问题- Can‘t create handler inside thread that has not called Looper.prepare()

辰鑫chenxin 56 0 0

whiteMu

Android -- Looper.prepare()和Looper.loop()

whiteMu 95 0 0

开源GIS定制化开发方案

std::thread发生Debug error R6010 abort() has been called

开源GIS定制化开发方案 109 0 0

凯约

getOutputStream() has already been called for this response

凯约 80 0 0

孟祥忠诗歌

Android Looper详解

孟祥忠诗歌 127 0 0

徐一村

C++ abort() has been called错误

徐一村 141 0 0

认真的老去

Android Toast

认真的老去 43 0 0

小北的爹

Android中Looper简介

小北的爹 81 0 0

前端王祖蓝

106-报错getWriter() has already been called

前端王祖蓝 117 0 0

精彩评论(0)

0 0 举报