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?
Make Sure your app
module build.gradle
must have libs
not lib
implementation files('libs/mylib-release-1.13.aar')
That error is because gradle does not find the .aar, check if you are in the right project, generally it is app. And then add the implementation, for me it worked using this in the gradle app module
implementation files('libs/player-release.aar')
And the .aar was located in: C:\Users\denis\workspace\PlayerApp\app\sdk\libs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With