In Android Studio, There is two ways of generating APK's - ie Debug build Apk and Release Build Apk. Now Question is how to generate TWO kind of Apk's?
This Question is helpfull to Freshers Android Developers.
Thanks
Debug Build APK:
Generating Debug build Apk's in android studio consists following steps-
Step 1: Open the project which is developed by android studio and Click on " Build Variants" which is present in Left buttom corner of the Android Studio. As shown in Below Image.
Step 2: Select Debug Option in the list. List contains only two ie Debug and Release. As shown in below image.
Step 3: To Run Android Application, You will get Debug APK's in the below path of the project
YourProjectName\app\build\outputs\apk\XXXXXX.apk
Release Build APK:
Generating Release build Apk's in android studio consists following steps-
Step1: Open android studio . Build -> Generate Signed APK… . now click on “Generate Signed APK”.
Step2:
Click Create new.
Step3:
Fill the details and click ok.
jks key details,It will go back to previous window.
Click Next, and give the password which you stored in key.
Step4:
Now click Finish and wait to complete the building process.
Now apk generated successfully. Click show in Explorer.
If you need more details please visit and check the live demo http://javaant.com/how-to-make-apk-file-in-android-studio/#.VwzedZN96Hs
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.