Skip to content

NoSuchMethodError: rememberConstraintLayoutMeasurePolicy when using Midtrans SDK with latest Jetpack Compose #169

Description

@lukma

Hi Midtrans Team

After adding the Midtrans Android SDK to a Jetpack Compose project, the app crashes at runtime with the following error:

java.lang.NoSuchMethodError: No static method rememberConstraintLayoutMeasurePolicy

This cause my project should use constraint layout compose version 1.1.0-alpha03 or if my project wanna keep using constraint layout compose version 1.1.1 would be extra effort in gradle dependency configuration.

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