I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator.
On Linux I do this:
emulator -list-avdscd android && ./gradlew assembleReleaseadb -s '8e138a9c' install app/build/outputs/apk/app-release.apkThats it. You can also use ./gradlew installRelease