Build Unsigned APK with Gradle

后端 未结 4 1875
粉色の甜心
粉色の甜心 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:31

    You don't have to set any option, just run the usual task:

    $ gradle assemble
    

    This will generate two files in project/build/apk/

    app-debug-unaligned.apk 
    app-release-unsigned.apk
    

提交回复
热议问题