Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug app without uninstall release app

Is there a way to debug my app on my smartphone without uninstall the play Store release? I want to use my app, but the debug should not edit the preferences. I would like to use two different apps. Naturally without changing a lot of code each time I want to export as release apk.

Am I asking too much?

like image 353
fran Avatar asked Dec 31 '25 03:12

fran


1 Answers

The solution is changing the applicationId in the app build.gradle file as suggested by the official documentation:

android {
    ...
    buildTypes {
        debug {
            applicationIdSuffix ".debug"
        }
    }
}
like image 178
fran Avatar answered Jan 02 '26 16:01

fran