To build a debug APK, you can open a command line and navigate to the root of your project directory. To initiate a debug build, invoke the assembleDebug task:


To build a debug APK, you can open a command line and navigate to the root of your project directory. To initiate a debug build, invoke the assembleDebug task:

gradlew assembleDebug

This creates an APK named [module_name]-debug.apk in [project_name]/[module_name]/build/outputs/apk/

Select correct statements about generated file. (Choose all that apply.)
A . The file is already signed with the debug key
B . The file is already aligned with zipalign
C . You can immediately install this file on a device.

Answer: A,B,C

Reference: https://developer.android.com/studio/run

Leave a Reply

Your email address will not be published.