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

Bradleycorn

02/18/2021, 1:54 PM
Perhaps a Studio question more-so than compose, but ... has anyone else had trouble getting the debugger to attach since updating everything to latest stuff for alpha 12?
d

Denis

02/18/2021, 1:57 PM
I have seen this problem since before alpha12. I don't understand what's the cause of it. Sometimes it works, sometimes it doesn't.
I think, restarting adb server helps.
b

Bradleycorn

02/18/2021, 1:58 PM
helps, but doesn't always fix it. I've restarted everything multiple times only to have it still not work.
d

Denis

02/18/2021, 2:01 PM
You sure you've killed all relevant processes? Sometimes I see a process that doesn't get killed until I SIGKILL it.
b

Bradleycorn

02/18/2021, 2:03 PM
yeah
Anecdotally ... I think it crops up when you have a stable build of AS running, AND a Canary build running as well ...
d

Denis

02/18/2021, 2:07 PM
Hm. Maybe. Though I have only Canary build installed. Still happens to me
b

Bradleycorn

02/18/2021, 2:07 PM
My guess is a bug report would be closed as "Won't Fix" with a reason of, "Don't run 2 instances of Android Studio at the same time"
d

Denis

02/18/2021, 2:07 PM
OT: why do you need to run 2 instances? Doesn't Canary provide all the stuff you need?
b

Bradleycorn

02/18/2021, 2:09 PM
Don't really need to. Business rules I guess. For our production app, they want everyone on the same (stable) version of AS. To play with Compose, I need a Canary build. So ....
🆗 1
Which also explains why I have both open. Don't tell my boss that I pad the estimates on all my stories, so that I have plenty of time in each sprint to work on my side project, which is to rebuild our app from the ground up in compose 😁
😂 2
that's actually a gross over-exaggeration. My company is actually really great about R&D. They are letting me put together a "hack day" once every 2-3 sprints to train up my team on compose so that we can start using it as soon as it reaches a stable build.
👌 2