AndroidStudio本身会将module生成aar包,
http://stackoverflow.com/questions/24309950/create-aar-file-in-android-studio
robotdeMacBook-Pro:aar robot$ pwd
/Users/robotke/Downloads/TestAndroid/circleimageview/build/outputs/aar
robotdeMacBook-Pro:aar robot$ ls
circleimageview-debug.aar circleimageview-release.aar
robotdeMacBook-Pro:aar robot$
可以看到AndroidStudio会自动在circleimageview这个module下面生成aar包,并不需要配置build.gradle。
路径在build-outputs-aar下有*-debug.aar和*-release.aar。