cannot make a static reference to the non-static method setAdapter(listAdapter) from the type ListVuew
少年,你都实例化ListView对象了,还用ListView.setAdapter(adapter),应该用实例化的对象listView.setAdapter(adapter),注意细节。
第一行代码书中的代码,不知是否也有人遇到此问题