Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 8.0系统吊起权限就崩溃了 #29

Open
Cuiernao opened this issue Nov 2, 2018 · 4 comments
Open

android 8.0系统吊起权限就崩溃了 #29

Cuiernao opened this issue Nov 2, 2018 · 4 comments

Comments

@Cuiernao
Copy link

Cuiernao commented Nov 2, 2018

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.njsoft.ace/me.weyye.hipermission.PermissionActivity}: java.lang.IllegalStateException: **Only fullscreen opaque activities can request orientation** at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892) at android.app.ActivityThread.-wrap11(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

@msy801006
Copy link

感觉这个是Android的一个BUG只有8.0有这个问题,8.1以后的也没有这个问题

@JamesLiAndroid
Copy link

我也存在这个问题

@JunWeiAndroid
Copy link

找到 CustomTheme_Dialog 这个style,复制到你的styles里面,把透明背景去掉,或者改成非全透明背景,就可以了

@Hollz
Copy link

Hollz commented Mar 11, 2019

AndroidManifest.xml 文件中
设置activity 方向造成的,注释掉这行;@yewei02538
android:screenOrientation="portrait"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants