Has anyone encountered an issue with AndroidStudio...
# multiplatform
e
Has anyone encountered an issue with AndroidStudio and KMP, when after latest updates (both Android Studio and KMP version) Android target tends to disappear from launch configurations? Either it could be kmp gradle plugin or AS itself, I have no idea. But the result is nasty, since I need to do some shenanigans to even launch my app on Android, not mentioning that all tests now run exclusively on iOS, that prevents me from debugging them. I have eliminated project setup issues, since firstly it was working before and second of all I have the same issues in multiple projects.
j
You read my mind. This happens quite often for me. On my end, for some reason, I have to force quit AS several times a day when it stops responding(M2 16gb 512gb). So frustrating.
y
@Edgars Malahovskis Could you
Collect logs
and file an issue in KMT project: https://youtrack.jetbrains.com/issues/KMT. As a temporary solution
./gradlew clean
, and
Invalidate Caches
action should help
e
@Yulia Nizienko any specific logs? Just missing run targets, not quite sure what to collect.
y
we are interested in idea.log in particular after you open the project and import is done, you can call
Collect Logs and Diagnostic Data
action
👍 1
@Jim Juma could you please also create a ticket here https://youtrack.jetbrains.com/issues/KMT for it: 1. collect all logs including threadDumps using
Collect Logs and Diagnostic Data
action 2. check your current memory heap (Help -> Change Memory Settings)
👍 1
e
@Yulia Nizienko wanted to collect logs today, but first I updated AS to latest Android Studio Narwhal Feature Drop | 2025.1.2 version and at least for now, seems that issue is fixed
👌 1