[问题记录]Android(安卓)target 27 适配的一个坑
16lz
2022-06-18
日志
java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
解决方法:
- target 改到26或26以下
- 删除
android:screenOrientation="portrait"
- 设置
- false
扩展阅读:
Only fullscreen activities can request orientation?一个搞笑的坑!
更多相关文章
- Android(安卓)Dialog定义没有标题的注意事项
- Android(安卓)Widget 小部件(四---完结) 使用ListView、GridView
- Android(安卓)tab 背景及字体颜色设置
- Android(安卓)View (transship)
- Android富文本图文混排、粗体、斜体、图片、下划线、删除线等
- android 学习记录
- Android(安卓)导航类型
- android添加各种权限整理
- Android(安卓)http HttpURLConnection