Open MRasch opened 1 month ago
hi, we have the same problem, how to solve? thanks
same problem
Any updates on this? Flutter 3.24 fixes some critical bugs for us and this is the only dependency blocking the release. 😢
hey @MRasch @stoppimyse @garmashev @PetrKubes97
we're on it, estimating the release for tomorrow
could you please try v2.10.2?
also, if you use adapty_ui_flutter
, please update it to v2.1.3
Hey @vladd-g the issue is still coming with latest sdk v2.10.2. We are in production and this issue is coming. Whats the estimated timeline to solve the issue.
@tekztosolutions could you please try this as a temporary solution to see if it helps?
@vladd-g that did work for me! Don't forget to flutter clean, I was getting some weird errors.
@vladd-g I've come to the conclusion that the workaround suggested in your previous comment was causing the issue with Adapty not activating. Looking at the actual cause of the
AAPT: error: resource android:attr/lStar not found.
issue, it seems that it is related to to compile version. Locally, I've changed Adapty's compile sdk version to 34 and everything seems to work fine with the latest flutter version.
@PetrKubes97 thank you for sharing!
by the way,
that did work for me! Don't forget to flutter clean, I was getting some weird errors.
that time I thought you meant this suggestion that does pretty much the same, but looks like you meant only the release itself, right?
Using the suggestion, adapty was not activating properly, so there might be something else going on.
same problem, using flutter 3.24.0 and adapty_flutter: 2.10.2
error:
e: /Users/leonardorignanese/.pub-cache/hosted/pub.dev/adapty_flutter-2.10.2/android/src/main/kotlin/com/adapty/flutter/AdaptyFlutterPlugin.kt: (95, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /Users/leonardorignanese/.gradle/caches/transforms-3/e1b107b4ad82e114a2b74451f3f4d5d2/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':adapty_flutter:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
The suggested fix didn't work.
@rignaneseleo could you please try updating your project's Kotlin version to 1.9.x?
done, now it works. thanks!
Hello,
I try to use the
adapty_flutter
library version2.10.1
in a new flutter project, but the build fails. It is a plain flutter project generated from Android Studio with nothing changed on the configuration.This is my configuration:
My
pubspec.yaml
:The
debug
build runs through but if I try to buildrelease
on Android it fails with:Exception is: