fat-aar-android icon indicating copy to clipboard operation
fat-aar-android copied to clipboard

Could not resolve all dependencies for configuration 'embed'

Open herdin723 opened this issue 3 years ago • 1 comments

Describe the issue

local aar or jar (eg: embed(name: 'Player', ext: 'jar'))

A clear and detailed description of what the issue is. A problem occurred configuring project ':fatlib'.

Could not resolve all dependencies for configuration ':fatlib:embed'. Could not find :Player:. Required by: project :fatlib

Build Environment

  • Operating System: [Windows10]
  • Gradle Plugin Version: [e.g. 7.0.2]
  • Gradle Version: [e.g. 7.0.2]
  • Fat-aar Version: [e.g. 1.3.6]

herdin723 avatar Dec 27 '21 02:12 herdin723

setting.gradle: dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { ... flatDir { dirs 'libs' } } } lib_module/build.gradle: embed files('libs/XXX.aar') You can try this. I solved a similar problem.

gh138312 avatar Apr 24 '22 03:04 gh138312