skip to Main Content

Running apps in debug mode has become noticeably slower in recent days. There are several posts about slow debug performance but no clear explanation on how to remedy the problem. The project doesn’t have any breakpoints.

Android Studio 2.2.1: Slow Debugging
android studio debugger verry slow
Android Studio Slow Debugging on Device

A signed .aab file uploaded to PlayStore works normally. Also, using "bundletool" to convert a signed .aab to .apks works as expected. An unsigned .apk doesn’t work.

The problem is pertinent to both physical and virtual devices.

Similar behavior is observed by my colleagues.

The problem started a few days ago with Giraffe 2022.3.1 and wasn’t remedied in 2023.2.1.

2023.2.1 Canary 11
Gradle Plugin: 8.3.0-alpha11
Gradle: 8.4-rc-2
Java: VERSION_1_8

2

Answers


  1. Chosen as BEST ANSWER

    When the following is added to the module build.gradle it works as expected

    buildTypes {
        debug {
            debuggable false
        }
    }
    

Please signup or login to give your own answer.
Back To Top
Search