Assigned
Status Update
Comments
a....@gmail.com <a....@gmail.com> #2
Forgot to note the environment.
This crash occurs on only API 21.
This crash occurs on only API 21.
ju...@google.com <ju...@google.com> #3
This crash occurs on API 22 and 23 when the user doesn't have Google Play installed. Related discussions: https://stackoverflow.com/q/41025200/842697
fp...@gmail.com <fp...@gmail.com> #5
For me this still persisted in 1.1.0-rc01 as well as 1.1.0-alpha01.
Only downgrading all my androidx version to the previously working state helped.
From:
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha10'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta04'
implementation 'androidx.viewpager2:viewpager2:1.0.0-beta04'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.preference:preference:1.1.0'
implementation 'androidx.core:core:1.2.0-alpha04'
back to:
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha09'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta03'
implementation 'androidx.viewpager2:viewpager2:1.0.0-beta03'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0-rc01'
implementation 'androidx.preference:preference:1.1.0-rc01'
implementation 'androidx.core:core:1.2.0-alpha03'
Only downgrading all my androidx version to the previously working state helped.
From:
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha10'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta04'
implementation 'androidx.viewpager2:viewpager2:1.0.0-beta04'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.preference:preference:1.1.0'
implementation 'androidx.core:core:1.2.0-alpha04'
back to:
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha09'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.1.0-beta03'
implementation 'androidx.viewpager2:viewpager2:1.0.0-beta03'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0-rc01'
implementation 'androidx.preference:preference:1.1.0-rc01'
implementation 'androidx.core:core:1.2.0-alpha03'
se...@google.com <se...@google.com>
ha...@google.com <ha...@google.com> #6
If you want to use 1.1.0 , override applyOverrideConfiguration in your activity as follows. However, this might need app restart for API 21 to 25, while switching Dark Theme to Light Theme and vice versa.
override fun applyOverrideConfiguration(overrideConfiguration: Configuration?) {
if (Build.VERSION.SDK_INT in 21..25 && (resources.configuration.uiMode == AppConstants.appContext.resources.configuration.uiMode)) {
return
}
super.applyOverrideConfiguration(overrideConfiguration)
}
override fun applyOverrideConfiguration(overrideConfiguration: Configuration?) {
if (Build.VERSION.SDK_INT in 21..25 && (resources.configuration.uiMode == AppConstants.appContext.resources.configuration.uiMode)) {
return
}
super.applyOverrideConfiguration(overrideConfiguration)
}
vv...@gmail.com <vv...@gmail.com> #7
Any update? Issue reproduces with androidx.appcompat:appcompat:1.1.0...
ha...@google.com <ha...@google.com> #8
Thank you guys for letting me know workarounds, I really appreciate that.
But here is not stack overflow.
I just want the bug of appcompat to be fixed.
There is some reasons like below why I point that it's bug of appcompat.
- androidx.appcompat supports api 21
- As far as I know, apparently there are no api 21 emulator supporting play store.
I hope developer experience to improve as much as possible.
Thanks
But here is not stack overflow.
I just want the bug of appcompat to be fixed.
There is some reasons like below why I point that it's bug of appcompat.
- androidx.appcompat supports api 21
- As far as I know, apparently there are no api 21 emulator supporting play store.
I hope developer experience to improve as much as possible.
Thanks
ja...@gmail.com <ja...@gmail.com> #9
I also encounter this issue on androidx.appcompat:appcompat:1.1.0 on lollipop
gu...@gmail.com <gu...@gmail.com> #10
ha...@google.com <ha...@google.com> #11
Can you let us know when this will be fixed?
hi...@gmail.com <hi...@gmail.com> #12
AppCompat 1.1.0-rc01 still works. (I did have to exclude appcompat 1.1.0 final dependency in my project that was coming from androidx preferences 1.1.0)
Description
Component used: appcompat Version used: >1.4.0 Devices/Android versions reproduced on: emulator API 33, pixel 2 API 30,
Description:
This issue has been occurring in my app since upgrading to appcompat 1.4.0. I held the version back to 1.3.1 to avoid the issue up to now, however this is no longer possible.
I haven't taken the time to create a minimal example because I don't really care, I just addedhttps://github.com/maltaisn/another-notes-app/tree/7e580a7727e043750b301669db38ba322826090b , then:
emojiCompatEnabled
to my EditText to fix the bug. If you'd like to reproduce the issue clone the app at:Since at no point does the stacktrace indicate execution in my app, I belive this may be a library bug.
Stacktrace: