Using Android Studio, I have an Android library project that gives "library / build / output / aar / MyLIB.aar" is just fine in debug mode, but doesn't in Release mode. I see no BUILD SUCCESSFUL errors in the Gradle Console window, but no release mode artifact.
A similar question has arisen here , and I get the same behavior as # user1624552 mentions in the link:
"gradlew clean" followed by "gradlew aR" resultd in my AAR, created and correctly placed in the directory above. But using Android Studio and Build Variant Release Mode does not create an AAR file.
Is there anything configured in the Debug variant that is not configured in the Release variant?
Thanks ALF
source
share