Build Unsigned APK with Gradle

后端 未结 4 1843
粉色の甜心
粉色の甜心 2020-12-02 11:00

Currently I\'m trying to learn Gradle to build Android APKs. How to set an option in gradle to build an unsigned APK?

4条回答
  •  温柔的废话
    2020-12-02 11:43

    If you want to make a build type act that is unsigned (just like a debug build), do the following:

    myBuildType {
        initWith debug
        ...
    }
    

提交回复
热议问题