Which Gradle command builds a debug APK from the terminal?

  1. gradlew installRelease
  2. gradlew clean only
  3. gradlew assembleDebug
  4. gradlew run
Answer

C) gradlew assembleDebug

assembleDebug builds the debug variant.

Computer Science MCQ · More Lab: Generating and Installing an APK MCQs · Practise