“cannot resolve symbol window" Window 类没找到,需要导入下面的类名 import android.view.Window; 另外不要用requestWindowFeature(Window.FEATURE_NO_TITLE),虽然可以运行但是标题栏依旧存在 用supportRequestWindowFeature(Window.FEATURE_NO_TITLE); 成功解决。