I'm trying to get started on mobile development. Specifically on android development using Android Studio and Kotlin
I already downloaded ADB Drivers, and Android Studio, I've just created a new project with an empty activity. I just want to execute the app on a physical device. I configured USB Debugging and Install Via USB. But everytime I try to build the app I receive the following Error:
"Error Installation did not succeed. The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE"
It says that I already have another version of the app installed on my device. Which seems strange to me because I did a factory reset to this device yesterday, and it was my first time trying to run the app
Android Device: Xiaomi Redmi 9 Android 11 MIUI 12.5
I configured the project with a minimum android version of Android 5.0 and I'm using API 31
How can I solve this error?