https://kotlinlang.org logo
Join SlackCommunities
Powered by
# android-studio
  • r

    Rihards

    01/13/2025, 4:45 PM
    Hi! I have updated the Android Studio to
    Ladybug Feature Drop | 2024.2.2
    , but now I’m not able to use emulators. They seem to be frozen - not reacting to any action. Haven’t seen this issue previously. I have tried to wipe data and create a new emulator, but no success. Is there any solution for this?
    c
    • 2
    • 1
  • c

    Carl Benson

    01/16/2025, 1:33 PM
    is it expected for the Gemini chat modal to have internal fixed width and produce content outside of this? Doesn't matter if I increase width 😅
    c
    • 2
    • 2
  • m

    Marko Novaković

    01/24/2025, 11:37 AM
    Meerkat Feature Drop 2024.3.2 Canary 2 acts like completely new Android Studio instalation, prompting me to install Android SDK, wiping my settings etc.
    ➕ 1
    s
    e
    m
    • 4
    • 5
  • k

    Kevin Worth

    01/24/2025, 8:03 PM
    Where would one report a bug with the Live Edit refresh feature? I've just found that making changes in calling
    animateFloatAsState
    such as changing the timing of the
    animationSpec
    and then refreshing with Live Edit can cause the animation to appear to be broken, but if I do a fresh build/install it works as expected.
    c
    • 2
    • 1
  • m

    Manuel Pérez Alcolea

    02/02/2025, 8:16 PM
    I'm having trouble with Android Studio showing me Java documentation in a KMP project. The one for Kotlin works fine, but for Java packages it shows nothing. I'm on Arch Linux and I have
    openjdk21-doc
    installed, as well as a few others. I don't have this issue with Android projects.
    • 1
    • 1
  • z

    Zoltan Demant

    02/11/2025, 5:05 AM
    What might be causing this (Im not targeting WatchOS)? Full trace in 🧵
    > Failed to apply plugin 'org.jetbrains.kotlin.multiplatform'.
    > org.jetbrains.kotlin.konan.target.KonanTarget$WATCHOS_X86
    • 1
    • 1
  • y

    youssef hachicha

    02/11/2025, 10:44 AM
    Anyone knows how to remove this, it's very annoying
  • r

    Rok Oblak

    02/13/2025, 2:33 PM
    I am suddenly getting this during my builds:
    Publishing a build scan to <http://scans.gradle.com|scans.gradle.com> requires accepting the Gradle Terms of Use defined at <https://gradle.com/help/legal-terms-of-use>. Do you accept these terms? [yes, no]
    Even though I do not have any build scans setup anywhere, nor do I pass any parameters. Any idea where this could come from? I do not have anything in gradle.properties either.
    g
    • 2
    • 1
  • e

    eygraber

    02/13/2025, 10:43 PM
    In which version of AS is the K2 plugin expected to be stable?
  • z

    Zoltan Demant

    02/14/2025, 10:04 AM
    Is it possible to kill any running desktop app when starting a new build / gradle sync / etc in Android Studio? Right now, I can sit around and wait forever only to realize that nothing is actually happening until I close the app.
    b
    j
    +3
    • 6
    • 16
  • m

    Mark

    02/14/2025, 10:23 AM
    Anyone else getting this after upgrading to AGP 8.8.1? Invalidate Caches didn’t help.
    Copy code
    Cannot run program "/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink" (in directory "/Users/me/path/to/my/app"): error=0, Failed to exec spawn helper: pid: 87530, exit value: 1
    • 1
    • 1
  • a

    agrosner

    02/14/2025, 10:50 AM
    I’m curious if others have seen this maddening bug You change code and run the app, and it’s running your old code unless you build again or sometimes force kill the app 🥲 https://issuetracker.google.com/u/1/issues/392830366
    m
    e
    +2
    • 5
    • 9
  • m

    Mez Pahlan

    02/17/2025, 9:02 PM
    Hey everyone can I double check that I am understanding this correctly (I'm probably not). • I have
    JAVA_HOME
    set to
    /usr/lib/jvm/temurin-21-jdk-amd64
    . • My terminal shows this as does the terminal within AS. • However when I go to
    File | Settings | Build, Execution, Deployment | Build Tools | Gradle
    JAVA_HOME
    is set to the
    jbr
    from the Toolbox installation. • It's the same value as `GRADLE_LOCAL_JAVA_HOME`: the
    jbr
    version. Is that correct? And why isn't AS reading my
    JAVA_HOME
    environment variable correctly? I'm on Ubuntu 24.04, have installed Eclipse Temurin 21 JDK, and am running Android Studio Meerkat Feature Drop | 2024.3.2 Canary 5.
    k
    c
    • 3
    • 9
  • c

    Chris Sinco [G]

    02/27/2025, 10:59 PM
    This is not a known issue, so please file a bug on our tracker with diagnostics logs
  • a

    Arsildo Murati

    03/03/2025, 2:21 PM
    Hi, are anyone else's CMP previews not working with canary 7?
    same 1
    l
    • 2
    • 2
  • m

    Mark

    03/07/2025, 2:40 AM
    macos 15.3: After updating to Meerkat (from Ladybug), I’ve noticed that when switching back to the app from another app (Command-Tab) Android Studio doesn’t show as expected. I need to again do Command-Tab (to bring up horizontal list of running app icons) and then select Android Studio (using mouse or arrow keys) which is now the first item, in order to see the AS window. Anyone else? EDIT: slightly better workaround is to tap on the AS icon in the Dock. The first click won’t do anything, but the second click works. So just need to double click. UPDATE: I just updated to macos 15.3.1 and it seems to have fixed the issue
    👍 1
  • r

    ritesh

    03/11/2025, 8:42 AM
    Did anyone ran into this error.
    Unable to find gradle task to build
    Build Mode: Assemble
    IDE
    Invalidate Cache & Restart
    fixes it, but sometime its frequent, when you close and open the IDE. Other issue - every-time i close and open my IDE it needs sync for the run configuration to show up.
    ➕ 1
    • 1
    • 1
  • j

    John O'Reilly

    03/13/2025, 8:24 PM
    Has anyone been able to get Android Studio Narwhal yet? (as mentioned in following for example

    https://www.youtube.com/watch?v=f_6mtRWJzuc▾

    )
    c
    c
    +2
    • 5
    • 16
  • b

    bod

    03/15/2025, 4:22 PM
    Hey with Copilot you can partially accept suggestions word by word with cmd+right arrow. Anyone knows if it's possible to do the same with Gemini?
    c
    • 2
    • 2
  • c

    Colton Idle

    03/21/2025, 3:56 PM
    Is narwhal in toolbox for anyone? I see it on d.android.com/studio/preview but not in JB toolbox
    s
    • 2
    • 2
  • c

    czuckie

    03/24/2025, 9:36 AM
    Why is the shortcut for changing device form factor in the experimental resizable device so dopey! (option+shift+1, 2 for foldable and tablet... then option+shift+ZERO for phone! Surely it should just be 1, 2, 3 🤦‍♂️)
  • a

    alexhelder

    03/24/2025, 7:36 PM
    I read Kotlin 2.1.20 has preview of Context Parameters, but requires 2025.1 … should I be able to use it in Narwhal 2025.1.1. Canary 2?
    c
    • 2
    • 1
  • v

    Vivek Modi

    04/04/2025, 9:41 PM
    hey can we change package name and application id all multi module project in android studio at same time?
  • z

    Zoltan Demant

    04/08/2025, 9:04 AM
    Copy code
    Non-Android source sets detected in 'abc'
    Gradle source sets ignored: jvmMain, jvmTest.
    I get this warning for most of the modules in my project. Everything runs just fine, but it doesnt feel right with IDE basically screaming at me all the time. Does anyone know what causes it?
    same 3
    m
    • 2
    • 2
  • l

    Lan s

    04/11/2025, 1:56 AM
    The IDE is running low on memory and this might affect performance. Please consider increasing the heap size. It's really memory-intensive, can you optimize it?
    👀 2
    same 1
  • m

    Meet

    04/21/2025, 5:27 AM
    Where is the official source code for Android Studio's built-in project templates? Are they available on a public GitHub repository?
    n
    • 2
    • 3
  • z

    Zoltan Demant

    04/22/2025, 1:58 PM
    The process cannot access the file because it is being used by another process. Besides the time consuming ways: killing java.exe, rebooting, invalidate caches.. Is there any other way I can either stop this from happening, or at least fix it in a faster way? It only happens when compiling Android on Windows, happens roughly every 2-3 minutes.
    e
    • 2
    • 1
  • t

    Thierry Kh

    04/25/2025, 3:06 PM
    Hello. Am i the only one who has an issue with the controls of external emulators on AS ? It's been like that for several weeks now, when i move the emulator from a monitor to another back and forth, it infinitely scales up. Making the buttons unusable because they are outside the screen.
    😂 5
    😯 2
    c
    c
    • 3
    • 5
  • z

    Zoltan Demant

    05/05/2025, 1:08 PM
    Copy code
    Error running 'app'
    getGradleProjectPath(Module: '<http://Progression.app|Progression.app>') == null
    Does anyone know what causes this and how I can fix it? Sometimes I can run my app, other times I cant unless I reboot (or cry enough in a corner). Ive tried invalidating pretty much every cache I can think of; it does not seem to help.
  • t

    Timz Owen

    05/07/2025, 8:05 PM
    looking for a KMM sdk for doing kyc verication that works on both devices