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

Error with android.enableR8.fullMode=true on Android 7.0 when using Scarlet #228

Open
vladanquantox opened this issue Sep 13, 2023 · 0 comments

Comments

@vladanquantox
Copy link

vladanquantox commented Sep 13, 2023

"I am encountering an error with this

@Receive Flowable<SuccessResponse<Object>> observeSignIn();

while using android.enableR8.fullMode=true, but it only occurs on Android 7.0 devices. Higher-level Android systems do not have this issue. Changing the response from SuccessResponse to any other class does not resolve the issue, even when switching to an empty class."

Log:

java.lang.IllegalStateException: Cannot resolve state transition adapter for type: eu.nis.nisgodrive.data.refactored_services.dto.base.SuccessResponse<java.lang.Object>, annotations: [Ljava.lang.annotation.Annotation;@5a255da. at com.tinder.scarlet.internal.statetransition.StateTransitionAdapterResolver.resolve(SourceFile:85) at com.tinder.scarlet.internal.stub.StubMethod$Factory.create(SourceFile:247) at com.tinder.scarlet.internal.stub.StubInterface$Factory.create(SourceFile:94) at com.tinder.scarlet.Scarlet.create(SourceFile:1) at qqq1.f50.f(SourceFile:9) at eu.nis.nisgodrive.data.network.SocketClient.getInitSignInService(SourceFile:16) at eu.nis.nisgodrive.viewmodels.LoginActivityViewModel.login(SourceFile:33)

Environment Information:

Android version: 7.0 (Nougat)
Scarlet version: 0.2.5-SNAPSHOT
Dependencies:
com.tinder.scarlet:scarlet:0.2.5-SNAPSHOT
com.tinder.scarlet:protocol-socketio-client:0.2.5-SNAPSHOT
com.tinder.scarlet:protocol-websocket-okhttp:0.2.5-SNAPSHOT
com.tinder.scarlet:message-adapter-gson:0.2.5-SNAPSHOT
com.tinder.scarlet:message-adapter-moshi:0.2.5-SNAPSHOT
com.tinder.scarlet:stream-adapter-rxjava2:0.2.5-SNAPSHOT
com.tinder.scarlet:lifecycle-android:0.2.5-SNAPSHOT

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

1 participant