Live Edit used to work flawlessly, but lately i ha...
# compose
a
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
What version of Compose and Studio?
a
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
hm. someone reported a similar problem here: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1659555398802449
d
it's broken on canary 9
a
@Altynbek Nurtaza Is it Canary 9? Can you tell me if you are using Live Edit on an API32 device / emulator?
d
quick fix: use emulator with api 30
a
@Alan Leung device is api 32, the app is also api 32,
d
try with api 30. it helped me. 31-32 are failing constantly
a
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
Where is canary 10? 😁
a
Should be available right now. 😊
c
Doesn't work in canary 10
a
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
Ok. If you have a chance, can you grab the idea.log of a failed edit and share it with me? Thanks.
c
Sure. Will try when I'm back at my computer.
a
@Colton Idle Just checking in, have you seen the issue again?
c
i think live edit has worked since i tried flamingo 2. installing 3 now actually. thanks for checking alan