很多其它内容,可訪问个人博客www.liangfeizc.com 错误代码 假设在Activiy中通过内部类(Runnable)的方式定义了一个变量runnable, final Runnable runnable = new Runnable() { public void run() { // ... do some work } }; handler.postDelayed(runnable, TimeUnit.SECONDS.toMillis(10) 由于Runnable不是static…