How to set my gradle for final release apk

前端 未结 2 1316
长发绾君心
长发绾君心 2020-12-30 09:27

Earlier my gradle was like this: WHICH IS OFCOURSE INCORRECT

    apply plugin: \'android\'

android {
    compileSdkVersion 19
    buildToo         


        
2条回答
  •  温柔的废话
    2020-12-30 10:12

    On the lower left of the Studio window there's a docked view called "Build Variants".

    Open it and choose the release variant.

    enter image description here

    ps. you are adding compile 'com.google.android.gms:play-services:+' twice.

提交回复
热议问题