5

I created library project and used some dependencies.Then i build 'aar' file and import it in to a new project as a new module. The issue is dependencies of aar project are not imported in to the new project environment? Do you have any idea?

My library Gradle

My Project Gradle

Build Error

sushildlh
  • 8,986
  • 4
  • 33
  • 77

1 Answers1

2

aar module can not exported dependency aar,if you want to use dependency aar in other module you should dependent it in your new module.

for your case,maybe api will solve your problem. The doc about api and implementation check here

aolphn
  • 2,950
  • 2
  • 21
  • 30