Dinushi Udeshika
Dinushi Udeshika

Reputation: 51

Android aar file dependencies not found in used project

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

Upvotes: 5

Views: 1385

Answers (1)

aolphn
aolphn

Reputation: 2998

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

Upvotes: 2

Related Questions