Search code examples
androidandroid-studioandroid-libraryaar

Null extracted folder for artifact: ResolvedArtifact


Added another version of AAR to the libs directory, after click Sync an error appeared

Null extracted folder for artifact: ResolvedArtifact(componentIdentifier=mylib-release-1.13.aar, variantName=null, artifactFile=D:...\app\libs\mylib-release-1.13.aar, extractedFolder=null, dependencyType=ANDROID, isWrappedModule=false, buildMapping={current_build=D:...}, mavenCoordinatesCache=com.android.build.gradle.internal.ide.dependencies.MavenCoordinatesCacheBuildService$Inject@60eddcd6)

Even after I changed the version of the library to 1.14 and did Sync, the problem remained. How can I fix this problem?


Solution

  • Make Sure your app module build.gradle must have libs not lib

    implementation files('libs/mylib-release-1.13.aar')