问题
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