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
# Put output below this line
------------------------------------------------------------
Gradle 8.2
------------------------------------------------------------
Build time: 2023-06-30 18:02:30 UTC
Revision: 5f4a070a62a31a17438ac998c2b849f4f6892877
Kotlin: 1.8.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 20.0.2 (Homebrew 20.0.2)
OS: Mac OS X 13.3 x86_64
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Crash on use of authenticator in my app. Compose verison is higher than examples, and so is kotlin version. If support for newer versions of compose and kotlin are not supported (as evidenced by the error signature), then that should be documented. The documentation claims support for a version and up. This is up. If this is not the expectation, then this should be patched.
Reproduction steps (if applicable)
Android Studio Hedgehog | 2023.1.1 Patch 1
Run on Pixel 3a api 34
instant crash
Any usage of authenticator
Code Snippet
// Put your code below this line.
Log output
java.lang.NoSuchMethodError: No static method AnimatedContent(Ljava/lang/Object;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Alignment;Ljava/lang/String;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/animation/AnimatedContentKt; or its super classes (declaration of 'androidx.compose.animation.AnimatedContentKt' appears in /data/data/io.brandstake.flickflack/code_cache/.overlay/base.apk/classes.dex)
at com.amplifyframework.ui.authenticator.ui.AuthenticatorKt.Authenticator(Authenticator.kt:112)
at io.brandstake.flickflack.MainActivityKt$SampleAppContent$2.invoke(MainActivity.kt:105)
at io.brandstake.flickflack.MainActivityKt$SampleAppContent$2.invoke(MainActivity.kt:98)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:117)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:239)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:221)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
amplifyconfiguration.json
n/a
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
Hi @dyangelo-grullon, looks like you are using Authenticator 1.0.1 - can you please try bumping this to 1.0.2. There was a change in the Material library's experimental animated content API that we included in this updated version. Thanks!
Before creating a new issue, please confirm:
Which UI component?
Authenticator
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Crash on use of authenticator in my app. Compose verison is higher than examples, and so is kotlin version. If support for newer versions of compose and kotlin are not supported (as evidenced by the error signature), then that should be documented. The documentation claims support for a version and up. This is up. If this is not the expectation, then this should be patched.
Reproduction steps (if applicable)
Android Studio Hedgehog | 2023.1.1 Patch 1
Run on Pixel 3a api 34
instant crash
Any usage of authenticator
Code Snippet
// Put your code below this line.
Log output
java.lang.NoSuchMethodError: No static method AnimatedContent(Ljava/lang/Object;Landroidx/compose/ui/Modifier;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/Alignment;Ljava/lang/String;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;II)V in class Landroidx/compose/animation/AnimatedContentKt; or its super classes (declaration of 'androidx.compose.animation.AnimatedContentKt' appears in /data/data/io.brandstake.flickflack/code_cache/.overlay/base.apk/classes.dex)
at com.amplifyframework.ui.authenticator.ui.AuthenticatorKt.Authenticator(Authenticator.kt:112)
at io.brandstake.flickflack.MainActivityKt$SampleAppContent$2.invoke(MainActivity.kt:105)
at io.brandstake.flickflack.MainActivityKt$SampleAppContent$2.invoke(MainActivity.kt:98)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:117)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:239)
at androidx.compose.material3.ScaffoldKt$ScaffoldLayout$1$1$1$bodyContentPlaceables$1.invoke(Scaffold.kt:221)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:108)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
amplifyconfiguration.json
n/a
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: