Status Update
Comments
tw...@gmail.com <tw...@gmail.com> #2
ChromiumPerf/android-pixel6-perf/system_health.memory_mobile/memory:chrome:all_processes:reported_by_chrome:malloc:max_committed_size_avg/browse_news
Verification workflow id: projects/62121018386/locations/us-central1/workflows/sandwich-verification-workflow-prod/executions/f430dab5-4642-48dd-a3d6-a50904c1d68e
ch...@google.com <ch...@google.com>
be...@google.com <be...@google.com>
le...@google.com <le...@google.com>
jo...@google.com <jo...@google.com>
lp...@google.com <lp...@google.com> #3
did NOT reproduce the regression with statistic: {'control_median': 135405568, 'lower': -2.0340368398504394, 'p_value': 0.42795460671186447, 'treatment_median': 135325696, 'upper': 1.0165479548803757}.
Issue closed.
tw...@gmail.com <tw...@gmail.com> #4
Based on Project Settings
of my example project, the AGP-version is 8.9.0-alpha02
(currently) and gradle version 8.10.2
.
I attached the example project and the output of ./gradlew lint
(based on the report it does not happen there).
lp...@google.com <lp...@google.com> #5
I just downloaded the project and opened it in Meerkat Canary 2, and did not see any IDE warnings either - maybe there is something strange with your cached state. Did you try file -> invalidate caches example?
tw...@gmail.com <tw...@gmail.com> #6
I have invalidated the cache like in the attached screenshot. I still get the same problem. Also, after the restart, I got an error of gradle (attached), maybe it is related to the problem.
si...@gmail.com <si...@gmail.com> #7
A simple workaround for this (at least in my case) is to explicitly access the scope using this.
.
This produces the error:
BoxWithConstraints { constraints }
BoxWithConstraints { maxHeight }
BoxWithConstraints { minHeight }
This does not produce the error:
BoxWithConstraints { this.constraints }
BoxWithConstraints { this.maxHeight }
BoxWithConstraints { this.minHeight }
tw...@gmail.com <tw...@gmail.com> #8
As I am now using Android Studio Merkat Canary 9, I had to update the example project to 8.11.1
. The AGP version now is 8.9.0-alpha09
.
@si...@gmail.com: It seems that your hint also does solve it for me.
Description
Jetpack Compose version: 1.7.0 (based on
androidx.compose.runtime/runtime-android/1.7.0
)Jetpack Compose component(s) used:
BoxWithConstraintsSample
sample code from packageandroidx.compose.foundation.layout.samples
Android Studio Build:
Kotlin version: 2.0.0
Steps to Reproduce or Code Sample to Reproduce:
Empty Activity
Template.BoxWithConstraintsSample
sample code from packageandroidx.compose.foundation.layout.samples
afterText
ofGreeting