Skip to content
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

Using the library is not possible #2

Open
jackdaniels92 opened this issue Feb 12, 2018 · 5 comments
Open

Using the library is not possible #2

jackdaniels92 opened this issue Feb 12, 2018 · 5 comments

Comments

@jackdaniels92
Copy link

implementation 'com.github.DariuschDideban::BestPracticeForAVS:v1.0'
If I add this line to my gradle file, I receive the following error: "failed to resolve com.github......."
while gradle sync. How can I solve this issue?
I've tried to add "maven { url "https://jitpack.io" }" to the build.gradle file but the problem still exists.
Thanks for your help, Daniel

@DariuschDideban
Copy link
Contributor

There came a small mistake into the Readme. Sorry for that! I will change it.

Please try this one:

Android Studio 2.x
compile 'com.github.DariuschDideban:BestPracticeForAVS:1.0'

Android Studio 3.x
implementation 'com.github.DariuschDideban:BestPracticeForAVS:1.0'

@DariuschDideban
Copy link
Contributor

And let met know if it solved this for you!

@jackdaniels92
Copy link
Author

Already solved: I've added the "Login-with-amazon-sdk.jar" to my project hence adding another repo like yours or willblaschko's repo to my project throws an "DexArchiveMergerException: Unable to merge dex" exception. Deleting this local library solved this problem. Adding the library is now possible with 'compile' or 'implementation' on Android Studio 3.0.1

@DariuschDideban
Copy link
Contributor

DariuschDideban commented Mar 12, 2018

Hey @jackdaniels92
This is really strange, because I started a new Android Project and then i just implemented my library and that actually worked for me. Did you already had parts of Amazon inside your project? Maybe this is why it failed. Can you give me a description how you got it crashed? Would like to reproduce it.

@DariuschDideban
Copy link
Contributor

@jackdaniels92 There is a new version. It changed from '1.0' to '1.1' ! The rest is still the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants