Skip to content

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

Description

@vladanquantox

"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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions