How to create a release android library package (aar) in Android Studio (not debug)

后端 未结 9 810
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-02 07:50

I have built my android library package (aar) and the result of build is created in \"..\\app\\build\\outputs\\aar\" folder. The file within this folder is called \"app-deb

9条回答
  •  渐次进展
    2020-12-02 08:42

    This issue of can already be handled with the answers like execute

    ./gradlew assembleRelease
    

    or choose assembleRelease from Android Studio's Gradle menu. However, for completeness, with Android Studio 1.5.1 (and probably also older versions) building release version of a .aar can be accomplished by selecting Build->"Build APK" in Android Studio. It seems to execute assembleRelease. If your project only contains the library project, it does not ask for any signing information.

提交回复
热议问题