你的项目/类可能导入错误。 你可能从API 11(android.app.ListFragment)扩展了ListFragment, 而应该从兼容类( android.support.v4.app.ListFragment )扩展ListFragment。