OfficeDev / Outlook-SDK-Android

Build apps for Outlook, Outlook.com, and Office 365 users with one set of APIs.
https://dev.outlook.com/
MIT License
32 stars 11 forks source link

Failed to resolve com.microsoft.services.orc:orc-android:1.3.1-SNAPSHOT #4

Open Arrefelt opened 8 years ago

Arrefelt commented 8 years ago

When inlcuding dependency:

compile('com.microsoft.services:outlook-services:2.1.0'){
    transitive = true
}

Gradle comes up with a failed to resolve error:

Error:Failed to resolve: com.microsoft.services.orc:orc-android:1.3.1-SNAPSHOT

However, 2.0.0 works. I'll leave a question here as well, when using 2.1.1 and the Application Registation Portal, does that mean I don't have to register the app in Azure AD at all?

Thanks in advance!

allaudin commented 8 years ago

Any solution?

nangonghuang commented 8 years ago

add maven {url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'} in your app-level or aplication-level build,gradle, like this : repositories { maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' } }

VicOgwari commented 4 years ago

From the Microsoft website, they recommend that you set the transitive = true. The irony is that setting it to false solves this issue. I think it skips the SNAPSHOT download. Maybe it downloaded it. I'm yet to run into any development challenges since my last sync.