If you want get a debuggable APK that people can install without adb, in Android Studio you can:


If you want get a debuggable APK that people can install without adb, in Android Studio you can:
A . Select your debug variant and click Build Bundle(s) / APK(s) > Build APK(s).
B . Click the Run button from toolbar
C . Select your debug variant and click Analyze AP

Answer: A

Explanation:

The Run button builds an APK with testOnly="true", which means the APK can only be installed via adb (which Android Studio uses). If you want a debuggable APK that people can install without adb, select your debug variant and click Build Bundle(s) / APK(s) > Build APK(s).

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

Leave a Reply

Your email address will not be published.