- open the
Build Variants
pane, typically found along the lower left side of the window:
- set
debug
torelease
shift+f10
run!!
then, Android Studio will execute assembleRelease
task and install xx-release.apk to your device.
More Related Contents:
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- How to create a release signed apk file using Gradle?
- “No cached version… available for offline mode.”
- Android- Error:Execution failed for task ‘:app:transformClassesWithDexForRelease’
- How to configure gradle to work “offline” (using cached dependencies)
- How do I show dependencies tree in Android Studio?
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- Android Studio Error “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”
- Android Studio how to package single AAR from multiple library projects?
- Android Gradle Apache HttpClient does not exist?
- Android Studio: Gradle sync failed: Could not HEAD ‘…’. Received status code 502 from server: Bad Gateway [closed]
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- How to create an Android Library Jar with gradle without publicly revealing source code?
- how can I add the aidl file to Android studio (from the in-app billing example)
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- How to automatically uninstall android app from device before installing a new version
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- no cached version available for offline mode
- Gradle Duplicate Entry: java.util.zip.ZipException
- How to include a library module dependency in an Android Studio project?
- Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:appcompat-v7:26.1.0
- Configuration with name ‘default’ not found. Android Studio
- Android Studio: how to generate signed APK using Gradle?
- Android Studio and Gradle build error
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- After update android studio could not create parent directory for lock file
- Can an AAR include transitive dependencies? [duplicate]
- Android build gradle is too slow (Dependency Resolution)