https://kotlinlang.org logo
#compose
Title
# compose
a

Altynbek Nurtaza

08/04/2022, 7:52 PM
Live Edit used to work flawlessly, but lately i haven’t been able to use it at all. The screenshot is take after launching an app and editing a number inside a composable (like in Live Edit of literals, which also doesn’t work). Does anyone know what the problem is here?
i’m using intel macbook. the problem also occured on my friend’s m1 macbook, but it works on his windows machine
c

Chris Sinco [G]

08/04/2022, 11:17 PM
What version of Compose and Studio?
a

Altynbek Nurtaza

08/05/2022, 12:34 AM
Copy code
private const val compose_version = "1.2.0-beta01"
const val compiler_version = "1.2.0-alpha08"
kotlin 1.6.20 Electric Eel canary 9
c

Colton Idle

08/05/2022, 3:10 AM
hm. someone reported a similar problem here: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1659555398802449
d

deviant

08/05/2022, 9:13 AM
it's broken on canary 9
a

Alan Leung

08/08/2022, 8:07 PM
@Altynbek Nurtaza Is it Canary 9? Can you tell me if you are using Live Edit on an API32 device / emulator?
d

deviant

08/09/2022, 9:53 AM
quick fix: use emulator with api 30
a

Altynbek Nurtaza

08/09/2022, 10:01 AM
@Alan Leung device is api 32, the app is also api 32,
d

deviant

08/09/2022, 10:02 AM
try with api 30. it helped me. 31-32 are failing constantly
a

Alan Leung

08/16/2022, 11:28 PM
Yeah having a device / emulator with API 31+ connected can potentially run into this situation for Canary 9. It doesn't even have to be running the Live-Edit'ed application, it just needed to be connected and it can put Studio into this state. We should have it all fixed up for Canary 10.
c

Colton Idle

08/16/2022, 11:29 PM
Where is canary 10? 😁
a

Alan Leung

08/30/2022, 6:21 PM
Should be available right now. 😊
c

Colton Idle

08/30/2022, 7:08 PM
Doesn't work in canary 10
a

Alan Leung

08/30/2022, 7:34 PM
What is failing?
Not helpful. But in general just not working. I haven't had time to debug or file a report. Seems like no one was able to get it to work.
a

Alan Leung

08/30/2022, 7:54 PM
Ok. If you have a chance, can you grab the idea.log of a failed edit and share it with me? Thanks.
c

Colton Idle

08/30/2022, 7:54 PM
Sure. Will try when I'm back at my computer.
a

Alan Leung

10/05/2022, 1:03 AM
@Colton Idle Just checking in, have you seen the issue again?
c

Colton Idle

10/07/2022, 2:16 AM
i think live edit has worked since i tried flamingo 2. installing 3 now actually. thanks for checking alan
5 Views