[Android Studio] Package release release version aar

You are a bit depressed, you can only compile the debug version aar, but you don't know how to compile the release version. Please read below.

I won’t talk about how to create a Module, now let’s talk about steps that are easily overlooked

1. Cancel the project settings as shown in the figure below

 

2. On the right side of the Android Studio interface, click Gradle to expand the Gradle page, then double-click assemble,

This starts to compile the release and debug versions.

 

3. On the right side of Android Studio, look under the outputs/aar directory, and you can see the aar file.

 

 

Supongo que te gusta

Origin blog.csdn.net/H_O_W_E/article/details/125208062
Recomendado
Clasificación