adwiv / android-fat-aar

Gradle script that allows you to merge and embed dependencies in generted aar file
The Unlicense
1.46k stars 435 forks source link

cannot find symbol variable common_google_play_services_install_text #49

Open DJND7 opened 7 years ago

DJND7 commented 7 years ago

Hi,

I have my own library, which I want to embed inside a third party library. When using fat-aar, they get the following error: error: cannot find symbol variable common_google_play_services_install_text

Gradle version used: 2.14.1

It think that it has to do with the fact that both libraries use Google Play Services, but different components of it. In my library I have the following dependency: compile 'com.google.android.gms:play-services-location:+'

And in the destination library, they have the following dependency: compile 'com.google.android.gms:play-services-ads:9.0.2'

Their build file looks like this: apply from: 'https://raw.githubusercontent.com/adwiv/android-fat-aar/master/fat-aar.gradle'

and embedded project(':tingzlibrary-1.5a')

tingzlibrary is the name of my library.

thekirankumar commented 7 years ago

The project which uses your embedded library should have compile com.google.android.gms:play-services-base:10.0.1

falconegabriel commented 7 years ago

There is anything new regarding this issue? I'm having the same problem with the resources:

Error:(52, 63) error: cannot find symbol variable colorScheme.

The variables declaration on the embedded library R can't be recognized for the project do be built.