Only the original thread错误 Only the original thread that created a view hierarchy can touch its views. 只有主线程能修改UI 那么我们就 runOnUiThread(new Runnable() { @Override public void run() { adapter.notifyDataSetChanged(); } });