Status Update
Comments
[Deleted User] <[Deleted User]> #2
Connie, do you think we can just remove it? And recommend ModalBottomSheet or BottomSheetScaffold instead?
pe...@bitrise.io <pe...@bitrise.io> #3
an...@gmail.com <an...@gmail.com> #4
I think it's worth noting in M2 that ModalBottomSheet is a layout while bottomdrawer functions more as a truly modal object, even though it does not have perfect dialog-like functionality. For the usecase recommended (bottom app bar menus), BottomDrawer seems like a better fit than ModalBottomSheetLayout. However in M3 it makes sense to explicitly use ModalBottomSheet once implemented.
Wdyt Matvei?
he...@gmail.com <he...@gmail.com> #5
I think it's worth noting in M2 that ModalBottomSheet is a layout while bottomdrawer functions more as a truly modal object
Could you comment on that? What's the actual difference in the behaviour?
mm...@gmail.com <mm...@gmail.com> #6
Bottom Drawer is an atomic component that can be placed on top of content on the screen while ModalBottomSheet is a layout that wraps around all the screen content and places accordingly. BottomDrawer is much more of a splashable component in M2 and asking users to migrate BottomDrawer uses may be cumbersome.
go...@gmail.com <go...@gmail.com> #7
Ok, sounds good. I'm happy to keep it if you think it brings value to m2 users.
If we are not removing it, we need to make it stable in this case.
ra...@gmail.com <ra...@gmail.com> #8
Found some outstanding bugs I will look into before deciding to promote, especially the swipeable migrations which will likely update the API
f....@hiconnect.de <f....@hiconnect.de> #9
Given the planned work to migrate the swipeable logic of bottomdrawer, this API should remain experimental. Closing for now.
ab...@gmail.com <ab...@gmail.com> #10
If these are still experimental, please keep this bug open and just target the next release
jp...@spotify.com <jp...@spotify.com> #11
Where can i find the respective hotlist for the next release?
[Deleted User] <[Deleted User]> #12
Fwiw the major difference between modal sheets and bottom drawer is that the drawer can be opened by swiping on the full container. If we don't intend to introduce a bottom drawer in M3, maybe we can explore how to adapt the ModalBottomSheet API for this feature in the future.
da...@gmail.com <da...@gmail.com> #13
Bumping to P1 as it is been a long while since we need to land this.
[Deleted User] <[Deleted User]> #14
This is an out-of-SLO bug that is assigned to me. Moving to Matvei to ensure that it is looked at.
pa...@wagwalking.com <pa...@wagwalking.com> #15
Jossi is on it already.
pa...@wagwalking.com <pa...@wagwalking.com> #16
Branch: androidx-main
commit 63b8ceee3645b3d78a2c372f01390937bf14c8bd
Author: Jossi Wolf <jossiwolf@google.com>
Date: Wed Nov 29 15:17:04 2023
[M2] Stabilize BottomDrawer
Relnote: BottomDrawer has been promoted from experimental to stable. BottomDrawerState now exposes the progress as a function, allowing to query progress between specific targets. BottomDrawerState now allows customizing the animation spec, and confirmStateChange is not a trailing lambda anymore.
Fixes: 261423850
Test: Existing tests, bottomDrawer_progress
Change-Id: I9c029340ea69a755ad0cd8f46b8fcdc76422c41c
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/DrawerTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Drawer.kt
ge...@freddiemac.com <ge...@freddiemac.com> #17
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.7.0-alpha03
androidx.compose.material:material-android:1.7.0-alpha03
androidx.compose.material:material-desktop:1.7.0-alpha03
go...@gmail.com <go...@gmail.com> #18
I solved the issue by this way #10 ;; thank you very much;
I installed the another emulator version (
[Deleted User] <[Deleted User]> #20
ra...@gmail.com <ra...@gmail.com> #21
I cant replace the emulator manually because I don't have admin permission. I hope a fix update a soon as possible
dn...@gmail.com <dn...@gmail.com> #22
qm...@gmail.com <qm...@gmail.com> #23
#22
- Install faulty version properly
- Close Android Studio
- Download and unzip an older version provided above
- Replace files in $ANDROID_HOME/emulator
- Launch Android Studio and it will use the new files
dn...@gmail.com <dn...@gmail.com> #24
Appreciate your help. Worked.
an...@gmail.com <an...@gmail.com> #25
Just making it more clear. Don't remove any files inside the emulator folder. Replace files one by one. Read the link in #10 again.
ab...@gmail.com <ab...@gmail.com> #26
You need to replace the content on /emulator folder instead of deleting that folder.
The important point is that you need to keep 'package.xml' file because that is the file Android Studio uses to run the emulator (and isn't presente in the emulator .zip you downloaded).
Take a look at the article I posted above (
ju...@gmail.com <ju...@gmail.com> #27
“emulator-check” can’t be opened because Apple cannot check it for malicious software.
ko...@gmail.com <ko...@gmail.com> #28
Hello,
This is to make your Mac think, that those files aren’t downloaded from somewhere and are just usual files found on your drive. That worked for me and omg finally I can go back to work...
So yeah, huge thanks to #10
Also, if it isn’t possible, try not clicking that link to download files, but copy-paste the link to your browser. I hope it will make Mac think that this is a google download and consider it safe (but I’m not sure about that)
ra...@gmail.com <ra...@gmail.com> #29
ab...@gmail.com <ab...@gmail.com> #30
You have to open 'Security & Privacy' window from System Preferences.
After trying to open a 'not-trusted' app, you will see a message and a button to allow the system execute that app.
Next time you'll open the emulator, you'll get an alert with an 'Open' button as one of its options.
The emulator runs several executables when running, so you'll probably have to repeat this process a number of times.
Fu...@n11.com <Fu...@n11.com> #31
ju...@gmail.com <ju...@gmail.com> #32
al...@gmail.com <al...@gmail.com> #33
Or try to download it via mobile phone / tablet and then copy to your Mac
kh...@googlemail.com <kh...@googlemail.com> #34
Same problem here on Catalina. A few points here
- Not everybody can upgrade the system to Big Sur (I am sure plenty of us run build nodes or similar purpose Macs on the old 2012 MacMinis)
- In my case I just wiped out the emulator directory and replaced it with the contents of the older 30.6.5 version
- It's quite difficult to comprehend how an update with a bug like that can be released without checking if it works on the Catalina
kk...@gmail.com <kk...@gmail.com> #35
thanks a million, managed to solve the issue.
i am on Mojave MAC.
i have tried the options that was suggested in forum none worked for me.. i guess the suggestion as per the comment on #10 is the best solution.
ju...@gmail.com <ju...@gmail.com> #36
Fu...@n11.com <Fu...@n11.com> #37
pa...@nearside.com <pa...@nearside.com> #38
Hi can we please keep the discussion on-topic to the actual bug at-hand? If you have ancillary questions please take it to StackOverflow or a similar site.
[Deleted User] <[Deleted User]> #39
Download emulator 30.6.5 from here from your phone or another PC.
Copy it to your Mac with 'adb pull /sdcard/Download/emulator-darwin_x64-7324830.zip .'
Unzip
Run your emulator
da...@zup.com.br <da...@zup.com.br> #40
lf...@google.com <lf...@google.com> #41
co...@gmail.com <co...@gmail.com> #43
The emulator is now working fine.
ar...@google.com <ar...@google.com>
sh...@gmail.com <sh...@gmail.com> #44
ya...@42gears.com <ya...@42gears.com> #45
be...@troii.com <be...@troii.com> #46
ma...@gmail.com <ma...@gmail.com> #47
lf...@google.com <lf...@google.com> #48
ar...@gmail.com <ar...@gmail.com> #49
cw...@gmail.com <cw...@gmail.com> #50
qm...@gmail.com <qm...@gmail.com> #51
New release 30.7.5 fixes all our issues. You can get the latest version now.
ma...@gmail.com <ma...@gmail.com> #52
tr...@redfin.com <tr...@redfin.com> #53
sp...@google.com <sp...@google.com> #54
Is the problem still reproducible with emulator 31.2.7?
Description
Running the emulator from the terminal crashes with the following error:
Running the emulator from the AVD Manager in Android Studio crashes and shows an alert dialog:
Studio Build: Version of Java:
OS: macOS 10.15.7 Catalina
Steps to Reproduce: