Is there a better channel kotlin multiplatform plu...
# multiplatform
c
Is there a better channel kotlin multiplatform plugin? Really my only question is... can we get support for Android Studio canaries with the plugin? Or should I pretty much just stick to AS Stable if I want to use KMP plugin? reason I ask is that canary seems to have latest intellij updates, so better k2 support and better multiplatform compat overall. but i can't keep updating canary every week if the kmp plugin isn't "forward compatible" (which seems to maybe be an issue with intellij plugins, more than anything else)
r
As a potential option, I've noticed abandoning AS for just regular IntelliJ is a much much more viable option with the new KMP plugin. It works basically out of the box even with a large Android-only project and comes with everything I'd expect (logcat, app inspection, device manager, etc).
c
Hm. not a bad option! didn't think of just going intellij route. as someone that actually hasn't used intellij for android dev. is there anything specific i should download? or just intellij community with kmp plugin and all set (or is there an android plugin i need or something?) thanks!
r
Yea, basically. The KMP plugin has everything.
It used to be way more annoying but it's feeling very streamlined now.
❤️ 1
c
I had issues while setting breakpoint in Intellij IDEA Community Edition. Other than that, it has everything needed.
z
Indeed, the new KMP plugin depends on all the other plugins you need, so installing that on its own should be enough. About Android Studio versions: their Canaries ship too quickly for our team to test the KMP plugin on new versions and ship the necessary fixes immediately, so support there might indeed lag behind. Once Narwhal goes RC and stable, the situation with the KMP plugin there should become more predictable. And of course, IntelliJ IDEA is indeed always an option, and provides essentially the same experience.
@Chiranjeevi Pandey Was that for native debugging?
c
gotcha. id be hoping the plugin could be made forward compatible. but yeah i guess i will try to use AS beta or AS stable with KMP plugin. will give intellij a whirl as well now that its clear AS canary + kmp is unfeasible.
c
@zsmb I noticed that while trying to hit a breakpoint on android app. It just doesnt get hit sometimes. There is no such issue in Android Studio though so I am currently using latest Canary 3. Canary 2 had issue establishing connection with iOS Simulator but that got fixed with Canary 3 it seems. And Intellij never had issue starting iOS devices. 😅 So I was just shuffling between IDEs haha
z
Android debugging is definitely supposed to work, even in Community. If you have a specific version and maybe a project that can demonstrate breakpoints not working, please do open a YouTrack issue for this, and we'll look into it!
👍 1
c
It looks like the issue is only when I run android app and then attach the debugger to that android process later. If I use debug app button, then breakpoints are working correctly. Edit: I tried to create a simple reproducer but breakpoints is being hit there.