Friday, September 23, 2016

android studio publish apk

android studio:

right click "app" project,  -- open module setting ----


signing tab, click + add config,   fill out keystore etc...





Build Types tab, choose release, signing config choose config



menu, build -- generate signed APK....


finish.

The final app_release.apk is under the root of your project folder, /root project/app/

C:\jh\android\trgv_2\app\app-free-release.apk

Upload this to google play developer console


=====================================================

for new version apk,


1) gradle file need to change :

versionCode 2versionName "1.0.1"


2) menu - build - generate signed apk
you must use same certificate as last build, so no change here. click next.


3) be aware that no change here
app- right click -- open module setting ---




No comments: