How does Android Studio 3.0 generate aar and use it?

After upgrading Android Studio 3.0, it is found that the module will not automatically generate aar. So you can only add code generation manually.

Solution: After cd to the module that needs to generate aar, gradle build can

Or make an alias, you can gradle uilib anywhere

task uilib {//Just give an alias to facilitate build
}
uilib.dependsOn(build)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325156184&siteId=291194637