how to create a jar file from android studio

前端 未结 5 1201

I have a fairly latest version of android studio, I have created a module under a project which is basically supposed to be a library, when I build it, it creates an \".aar\

5条回答
  •  半阙折子戏
    2021-01-04 20:51

    Currently gradle based builds doesnt seems to be allowing to create jar with android studio, I decided to go for Intelij it has necessary option and does what i want , i can use community edition.

    ***Update**** Even the jar produced by Intelij with resources don't work , obviously its not easy to have a jar with resource , so decided to opt for .aar and hoping that Eclipse also gets support for .aar when gradle supports lands there, as that was my main concern.

提交回复
热议问题