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

In Oreo os 8.0.0. Device: SM-N950F gettting the crash #88

Closed
hardikpatel679 opened this issue May 4, 2018 · 7 comments
Closed

In Oreo os 8.0.0. Device: SM-N950F gettting the crash #88

hardikpatel679 opened this issue May 4, 2018 · 7 comments

Comments

@hardikpatel679
Copy link

hardikpatel679 commented May 4, 2018

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{}: java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2957)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3032)
at android.app.ActivityThread.-wrap11(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6940)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

@hardikpatel679
Copy link
Author

hardikpatel679 commented May 8, 2018

just change the style <item name="android:windowIsTranslucent">true</item> to <item name="android:windowIsTranslucent">false</item>
Its works for me

@ps-jimmy
Copy link

ps-jimmy commented Jun 27, 2018

This solution works for me, just add it to your manifest file:

@ParkSangGwon
Copy link
Owner

This issue solved at #74

@Jitesh1720
Copy link

Jitesh1720 commented Sep 12, 2018

This issue solved at #74

I still facing this issue.
<item name="android:windowIsTranslucent">false</item>

Applied this in theme/style

is the issue related with orientation ?
currently my project orientation is landscape
android:screenOrientation="landscape"

@hardikpatel679
Copy link
Author

hardikpatel679 commented Sep 12, 2018 via email

@Jitesh1720
Copy link

Yeah right. if I remove orientation from manifest then its working.
But It compulsory for my app so I just update version to 2.2.2 and ArrayList to List. Now its working in Oreo with screen orientation in manifest.

@Override
        public void onPermissionDenied(ArrayList<String> deniedPermissions) {
        }
@Override
        public void onPermissionDenied(List<String> deniedPermissions) {
        }

Anyway. Thanks for your support.

@hardikpatel679
Copy link
Author

hardikpatel679 commented Sep 12, 2018 via email

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

4 participants