-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class Confict in android studio dependency gradle #617
Comments
@segunmicheal27 can you please post your dependency tree? |
@gschukin Here is my Gradle dependency setting tree on Android studio apply plugin: 'com.android.application' android {
} dependencies { }
|
I mean
|
@gschukin Here are my gradle dependencies settings below
|
@segunmicheal27 In order to figure out why you have two different versions of javax.inject you have to run above command BTW do you have something like javax.inject-2.2.0.jar in libs folder? |
@gschukin this is what i find when in app:dependency in my gradle command line
|
It seems that this is pure gradle error. Gradle tries to resolve dependencies in a different way than maven. So there are three options if you would like to stay with gradle
|
I am using:
org.pacesys:openstack4j:2.11
Here is my gradle configuration for my android studio project:
AND BELOW IS MY CODE
NOTE: APIprovider.class And Inject.Class that is causing conflict
Here is my error i encounter when i build the project:
The text was updated successfully, but these errors were encountered: