[英]How to create *.aar file from “existing” android studio project ( Not creating new android library)?
I searched how to create *.aar file but all of them say to create library then add your classes then Double click assemble ... the *.aar is created in build/... 我搜索了如何创建* .aar文件,但所有人都说创建库然后添加你的类然后双击汇编... * .aar在build /中创建...
but I need to create *.aar file from existing (already created and coded) project 但我需要从现有(已创建和编码)项目创建* .aar文件
so my question is : 所以我的问题是:
how to create *.aar file from "existing" android studio project ( Not creating new android library) ? 如何从“现有的”android studio项目创建* .aar文件(不创建新的android库)?
Thanks in advance 提前致谢
I did Morrison Chang's solution (thx) 我做了Morrison Chang的解决方案(thx)
made it as module library after double clicking on assemble some errors come : 双击后组成一些错误来使它成为模块库:
I did what morrison said I got that error which i sent as photo the solution for that error was just to "Rebuilt project" after "File/Sync project ..." ( which is funny :) ) 我做了什么莫里森说我得到了那个错误,我发送了照片,该错误的解决方案只是在“文件/同步项目......”之后的“重建项目”(这很有趣:))
now I have aar file in my app/build/... 现在我的app / build /中有aar文件...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.