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
)