delight-im / Android-DDP

[UNMAINTAINED] Meteor's Distributed Data Protocol (DDP) for clients on Android
Apache License 2.0
274 stars 54 forks source link

problem with Gradle build #88

Closed krishnav39 closed 8 years ago

krishnav39 commented 8 years ago

hi, when i am trying to build gradle this shows an error like :

Error:A problem occurred configuring project ':app'.

Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not resolve com.github.delight-im:Android-DDP:v3.1.2. Required by: meteortest:app:unspecified

Could not resolve com.github.delight-im:Android-DDP:v3.1.2. Could not get resource 'https://jitpack.io/com/github/delight-im/Android-DDP/v3.1.2/Android-DDP-v3.1.2.pom'. Could not GET 'https://jitpack.io/com/github/delight-im/Android-DDP/v3.1.2/Android-DDP-v3.1.2.pom'. peer not authenticated

please guide me where i do wrong.

ocram commented 8 years ago

Thanks for your question!

It appears there is a problem with SSL/TLS connections on your computer.

Can you try changing https to http in the following repository definition?

maven { url "https://jitpack.io" }

Obviously, it would be better to fix the SSL/TLS certificate problems than to use plain HTTP, though.

krishnav39 commented 8 years ago

hi,

i changed like but still it through an error

maven { url "http://jitpack.io https://jitpack.io/" }

Error:(34, 13) Failed to resolve: com.github.delight-im:Android-DDP:v3.1.2 Show in File
<a href="open.dependency.in.project.structure">Show in Project Structure dialog

On Sat, Apr 23, 2016 at 8:19 PM, Marco notifications@github.com wrote:

Thanks for your question!

It appears there is a problem with SSL/TLS connections on your computer.

Can you try changing https to http in the following repository definition?

maven { url "https://jitpack.io" }

Obviously, it would be better to fix the SSL/TLS certificate problems than to use plain HTTP, though.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/delight-im/Android-DDP/issues/88#issuecomment-213752666

ocram commented 8 years ago

Well, has that been the complete error message already?

Can you try updating Gradle or make sure Java 8 is installed? Or maybe you can try one of the following resources: