BestPracticeForAVS icon indicating copy to clipboard operation
BestPracticeForAVS copied to clipboard

Using the library is not possible

Open jackdaniels92 opened this issue 8 years ago • 5 comments

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

jackdaniels92 avatar Feb 12 '18 10:02 jackdaniels92

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 avatar Mar 04 '18 21:03 DariuschDideban

And let met know if it solved this for you!

DariuschDideban avatar Mar 04 '18 21:03 DariuschDideban

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

jackdaniels92 avatar Mar 08 '18 10:03 jackdaniels92

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 avatar Mar 12 '18 19:03 DariuschDideban

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

DariuschDideban avatar Mar 14 '18 11:03 DariuschDideban