Adding AAR in IntelliJ IDEA without gradle

白昼怎懂夜的黑 提交于 2019-12-10 01:23:29

问题


How can I add aar-module into the project in IDEA (without gradle, using ant)?


回答1:


in android studio go to file/new/new module then select new module from existing aar package




回答2:


With Android Studio, that is pretty the same, the only solution I found was to extract the .aar content in a folder to use with the import module procedure. (File -> Project Structure... -> Modules -> + button -> Import module)

If that doesn't work check if in the above extracted folder there is a .jar file and try to load it as external library (File -> Project Structure... -> Libraries)



来源:https://stackoverflow.com/questions/29286246/adding-aar-in-intellij-idea-without-gradle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!