How to set up gradle and android studio to do release build?

前端 未结 6 1992
礼貌的吻别
礼貌的吻别 2020-12-02 07:21

I want to build android app and start signing it. For that I need to have Release version of apk. Google documentation suggests only Eclipse and ant ways to have release bu

6条回答
  •  不思量自难忘°
    2020-12-02 07:57

    1. open the Build Variants pane, typically found along the lower left side of the window:

    1. set debug to release
    2. shift+f10 run!!

    then, Android Studio will execute assembleRelease task and install xx-release.apk to your device.

提交回复
热议问题