You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application with Pusher version 2.4.# crashes on Pusher's initialization on Android API 21-22.
I did like described here, but it doesn't change anything with it.
AGP version 7.4.2
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
Is it a crash report? Submit stack traces or anything that you think would help
java.lang.NoClassDefFoundError: com.pusher.client.Pusher$$ExternalSyntheticLambda0
at com.pusher.client.Pusher.<init>(Pusher.java:103)
at com.pusher.client.Pusher.<init>(Pusher.java:85)
at myapp.features.chat.data.PusherWebSocket.<init>(PusherWebSocket.java:122)
at myapp.data.chat.NewWebSocketChatRepositoryImpl.<init>(NewWebSocketChatRepositoryImpl.kt:29)
at myapp.presentation.chat.ConsultantChatMessagesRepositoryFactory.create(ConsultantHelper.kt:62)
at myapp.presentation.chat.ConsultantFragment.createChatViewModel(ConsultantFragment.java:51)
at myapp.presentation.chat.ChatFragment.onCreateView(ChatFragment.java:80)
at androidx.fragment.app.Fragment.performCreateView(Fragment.java:3104)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:524)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1433)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2977)
at androidx.fragment.app.FragmentManager.dispatchViewCreated(FragmentManager.java:2888)
at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3129)
at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:552)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1899)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1823)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1760)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:547)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
It works with Pusher version 2.2.8.
CC @pusher/mobile
The text was updated successfully, but these errors were encountered:
Yoko999
changed the title
ava.lang.NoClassDefFoundError: com.pusher.client.Pusher$$ExternalSyntheticLambda0 on Android API 21-22 anyway
java.lang.NoClassDefFoundError: com.pusher.client.Pusher$$ExternalSyntheticLambda0 on Android API 21-22 anyway
Nov 16, 2023
What is the issue?
My application with Pusher version 2.4.# crashes on Pusher's initialization on Android API 21-22.
I did like described here, but it doesn't change anything with it.
AGP version 7.4.2
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
implementation "com.pusher:pusher-java-client:2.4.4"
Project's compile, target SDK 33
Min SDK 21
Is it a crash report? Submit stack traces or anything that you think would help
It works with Pusher version 2.2.8.
CC @pusher/mobile
The text was updated successfully, but these errors were encountered: