native-docs icon indicating copy to clipboard operation
native-docs copied to clipboard

android 离线打包设置竖屏 崩溃 android8.0.0

Open huhonggit opened this issue 5 years ago • 2 comments

离线打包在 image image 配置 将android:screenOrientation="user" 设置为 android:screenOrientation="portrait" 在android8.0.0下 启动崩溃 image

huhonggit avatar Jul 29 '20 03:07 huhonggit

通过查看源码 目前采用简单的思路进行解决。无法预知是否有其他问题。 image将原始的TranslucentTheme 删除掉然后再引入样式 image 将 android:windowIsTranslucent="false" 设置为false。测试可以启动不会崩溃。。开发大佬能否在SDK层次解决

huhonggit avatar Jul 29 '20 03:07 huhonggit

删除掉了 android:theme="@style/TranslucentTheme" 配置 将源码直接配置在这里 然后改一个参数为false

huhonggit avatar Jul 29 '20 03:07 huhonggit