Android8.0 java.lang.IllegalStateException: Only fullscreen opaque activities can request orienta...

java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
image.png

报错提示:java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation

解决方法
找到设置的主题,然后在这个主题的style文件中添加下面一个item设置即可:

false

你可能感兴趣的:(Android8.0 java.lang.IllegalStateException: Only fullscreen opaque activities can request orienta...)