我的处理反方法是将style.xml里面的 <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> 改成上面这句运行就可以了 希望能给大家参考