SimpleSearchView
SimpleSearchView copied to clipboard
App Crashes when we open app after some time from background
### Seems Like Issue here https://github.com/Ferfalk/SimpleSearchView/blob/1e62036e69c983b84544f8eee64c4917e2cbb17e/simplesearchview/src/main/java/com/ferfalk/simplesearchview/SimpleSearchView.kt When Reading and writing to parcel
Stack Trace
Process: com.doc.scanner.doc.reader.documentscan, PID: 19451 java.lang.RuntimeException: Parcel android.os.Parcel@5cbf9d2: Unmarshalling unknown type code 6553705 at offset 3092 at android.os.Parcel.readValue(Parcel.java:3269) at android.os.Parcel.readSparseArrayInternal(Parcel.java:3666) at android.os.Parcel.readSparseArray(Parcel.java:2808) at android.os.Parcel.readValue(Parcel.java:3247) at android.os.Parcel.readArrayMapInternal(Parcel.java:3583) at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:296) at android.os.BaseBundle.unparcel(BaseBundle.java:240) at android.os.Bundle.getSparseParcelableArray(Bundle.java:1079) at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2197) at android.app.Activity.onRestoreInstanceState(Activity.java:1743) at android.app.Activity.performRestoreInstanceState(Activity.java:1689) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1357) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3760) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:232) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:212) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:184) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2315) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:263) at android.app.ActivityThread.main(ActivityThread.java:8276) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
Request To Admin
Please look at this issue ASAP
Any fix?
me too
add this
Any fix for this? I have my production app crashing.
> Any fix for this? I have my production app crashing.
you can use this prebuilt aar
here
copy aar to your app/libs and replace your app’s build.gradle
// implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0'
with
implementation files("libs/simplesearchview-release.aar")
Hi,
I do but I go t this : Error inflating class com.ferfalk.simplesearchview.SimpleSearchView
El jue, 13 oct 2022 a las 8:51, F-19-F @.***>) escribió:
> Any fix for this? I have my production app crashing.
you can use this prebuilt aar here https://github.com/F-19-F/SimpleSearchView/releases/tag/fix copy aar to your app/libs and replace your app’s build.gradle // implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0' with implementation files("libs/simplesearchview-release.aar")
— Reply to this email directly, view it on GitHub https://github.com/Ferfalk/SimpleSearchView/issues/37#issuecomment-1277113537, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTWQU6ZFK5O52BOB3PPQE3WC6WQLANCNFSM5IZ4LYQQ . You are receiving this because you commented.Message ID: @.***>
Can you help me to fix this problem? I don't know why I am getting error inflating class.
@F-19-F can you help me please?
Fixed! 👍 Thanks to @F-19-F