Status Update
Comments
eu...@gmail.com <eu...@gmail.com> #2
This is also observed on CI that is run on the Ubuntu.
eu...@gmail.com <eu...@gmail.com> #3
I just updated the project to use AGP 7.4.0-rc03, and I don't see it.
vi...@google.com <vi...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com>
js...@google.com <js...@google.com>
sj...@gmail.com <sj...@gmail.com> #6
I believe we have a regression here. Getting a lot of these false positive warnings now after updating to Kotlin 1.9.0 and Compose Compiler 1.5.0.
eu...@gmail.com <eu...@gmail.com> #7
Same! The issue is back with Kotlin 1.9 and Compose Compiler 1.5.0.
js...@google.com <js...@google.com> #8
Similar regressions were reported recently, like
sj...@gmail.com <sj...@gmail.com> #9
I'm using current stable version 8.0.2 of AGP
js...@google.com <js...@google.com> #10
Yeah, that's exactly same as what others reported at
The problem reoccurred with Kotlin stdlib 1.9.0 and AGP 8.0.2.
problem started reappearing with Kotlin 1.9.0 and AGP 8.0.2.
Could you try one of latest canaries, say, AGP 8.2.0-alpha12?
sj...@gmail.com <sj...@gmail.com> #11
I cannot reproduce this with AGP 8.2.0-alpha12.
I also noticed a few other false positives, like claiming that Iterable.forEach()
(Kotlin) is only available since SDK 24.
js...@google.com <js...@google.com> #12
I cannot reproduce this with AGP 8.2.0-alpha12.
Thanks for trying that and confirmation.
I also noticed a few other false positives, like claiming that
Iterable.forEach()
(Kotlin) is only available since SDK 24.
That's exactly same as
Th...@aexp.com <Th...@aexp.com> #13
I just upgrade to 8.2.0 and still get the error with:
val frontImageByteArray = remember(key1 = state) {
Base64.decode(state.data.frontImage, Base64.DEFAULT)
}
Error: remember calls must not return Unit [RememberReturnType from androidx.compose.runtime]
Description
DESCRIBE THE ISSUE IN DETAIL:
STEPS TO REPRODUCE:
remember calls must not return Unit
error that is false positiveSnippet of code that produces error:
The simple modification to next code just fix it:
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply
all required information.