Open elirangoshen opened 6 years ago
This is the problem
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found incompatible value 'Apk'.
I had the same trouble. It's because you want to reach values from an App module. You have to convert it to "Android library" type. Try this https://developer.android.com/studio/projects/android-library.html#Convert I didn't find a way to resolve resources from an app module in another module. The safest way is to organize your project as in this example https://stackoverflow.com/a/34808917
i dded another project as module and tried to add this starter in gradle using this line :
and when i'm trying to sync i'm getting the following error :
Unable to resolve dependency for ':sample@debug/compileClasspath': Could not resolve project :library.
Could not resolve project :library. Required by: project :sample
i researched it on stack overflow, and the only thing that almost worked for me is to rename my gradle line to this :
my sync did work, but i couldn't import any of the project files.
i know that the issue is that the configurations is not identical , but i don't know what i should do to fix this.