Editing anything in :app modules (or other entry point modules) is very very slow for me. Obviously a lot of dependencies that are brought in & wired together here, so I understand that a lot is happening.
Anyone else running into the same thing? Any solutions? Maybe beyond the scope of this channel, but afaik, you gotta bring in all the dependencies to :app modules in order to wire everything together, no?
c
Carl Benson
06/23/2025, 2:13 PM
editing anything anywhere in Android Studio is a pain. I have 250k LOC Kotlin across ~100 Gradle modules. Barely usable on Apple M4 Pro with 48 GB RAM
z
Zoltan Demant
06/23/2025, 2:18 PM
Really? That sounds horrible, Im grateful that editing anything outside of :app is fast. Maybe theres another issue in your case? My project has just under 300 modules, dunno about LOC though, but runs fine on 32 GB M4.
c
Carl Benson
06/23/2025, 2:30 PM
I think code-completion / indexing has some issues for me. I've been in situations where characters appear 1 second after I press the key 😩
z
Zoltan Demant
06/24/2025, 9:27 AM
Are you using K2?
c
Carl Benson
06/24/2025, 11:42 AM
yeah
z
Zoltan Demant
06/25/2025, 7:38 AM
Ironically, my issue mostly goes away with K2 enabled. I can still tell that its a massive module w/ a lot of dependencies, but its at least workable. I just recently migrated to K2 (after this post); and during the migration I did run into issues where code completion (and editing) was very slow. Unfortunately no clue what made it click, but it does work almost perfectly now - a few days later. If youre using KMP, a massive downside Ive found thus far is that you need a newer version of Android Studio in order to use Kotlin 2.2.0 .. and the newer versions dont (yet) support the KMP plugin.