Infeasible
Status Update
Comments
ri...@google.com <ri...@google.com> #2
Lines for reference in ModalBottomSheet.android.kt
causing this behavior:
val newTarget = when (sheetState.anchoredDraggableState.targetValue) {
Hidden -> Hidden
PartiallyExpanded, Expanded -> {
val hasPartiallyExpandedState = newAnchors
.hasAnchorFor(PartiallyExpanded)
val newTarget = if (hasPartiallyExpandedState) PartiallyExpanded
else if (newAnchors.hasAnchorFor(Expanded)) Expanded else Hidden
newTarget
}
}
Description
1. Describe the bug or issue that you're seeing.
Latest version (Ladybug Feature drop 2024.2.2)
Trying to add Android SDK to a flutter project structure does not work anymore.
Same on a different installation (Ladybug 2024.2.1 Patch1).
A previous version (Hedgehog 2023.1.1 Patch 1) works as expected and allows me to add existing Android SDKs.
2. Attach log files from Android Studio
Attached "DiagnosticsReport20250119-135802.zip"
3. If you know what they are, write the steps to reproduce:
3a. Android SDK installed: 30, 32, 33, 34, 35
3b. Open flutter project.
3c. Go to "Project structure"; only SDKs 34 and 35 are visible (see AS1.png).
3d. Right click, select "Add SDK", select "Add Android SDK from disk"
3e. Window opens and points to the SDK home folder; installed SDKs are visible in the "platforms" subfolder (see AS2.png).
3f. Click OK: nothing happens!
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-242.23726.103.2422.12816248, 202412180233
AS: Ladybug Feature Drop | 2024.2.2
AI-242.23726.103.2422.12816248, JRE 21.0.4+-12508038-b607.1x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 1920x1080 (100%)
Android Gradle Plugin: (plugin information not found) - "bundled 242.23726.103.2422.12816248"
Gradle: (gradle version information not found) - gradlew -version output below
Gradle JDK: Eclipse Temurin 23.0.1
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: 3.31.1, from PATH: (not found)
PS D:\git\crc32\android> .\gradlew -version
Welcome to Gradle 8.9!
Here are the highlights of this release:
- Enhanced Error and Warning Messages
- IDE Integration Improvements
- Daemon JVM Information
For more details see
------------------------------------------------------------
Gradle 8.9
------------------------------------------------------------
Build time: 2024-07-11 14:37:41 UTC
Revision: d536ef36a19186ccc596d8817123e5445f30fef8
Kotlin: 1.9.23
Groovy: 3.0.21
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
Launcher JVM: 17.0.13 (Eclipse Adoptium 17.0.13+11)
Daemon JVM: D:\JDK\JDK17 (no JDK specified, using current Java home)
OS: Windows 11 10.0 amd64
```