mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

Screen freeze when add Google Play Core lib running on Android 8.1.0

Open maohieng opened this issue 4 years ago • 1 comments

I added implementation 'com.google.android.play:core:1.10.0' for some reason and run it on Android 8.1.0 (Samsung J7). The app screen is freezed, and the log shows the infinitely switch windows focus 1 & 0:

com.google.mlkit.md D/InputMethodManager: startInputInner - Id : 0
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 3663716352} changed=false
om.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 3663716352} changed=false
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: Relayout returned: old=[0,0][1080,1920] new=[0,0][1080,1920] result=0x1 surface={valid=true 3663716352} changed=false
com.google.mlkit.md D/ViewRootImpl@331249e[MainActivity]: 
...

It works fine on my devices running Android 10.

Why Google Play Core lib interferes this app running on only Android 8.1.0? How to fix this problem? Thanks,

maohieng avatar Jul 05 '21 04:07 maohieng

It is a bit hard to find the issue with the given information. What else have you changed? Could you share a bug report or more log information via here: https://issuetracker.google.com/issues/new?component=897785&template=1457144&pli=1

swiyu avatar Jul 14 '21 23:07 swiyu

Close because of inactivity

jackqdyulei avatar Aug 30 '22 22:08 jackqdyulei