android - Referencing SpotifyWebApi in AndroidStudio -


i'm trying reference spotifywebapi in androidstudio. i'm using instructions here

https://github.com/kaaes/spotify-web-api-android/blob/master/readme.md

however error error:failed resolve: :spotify-web-api-android-0.1.0:

when try build.

how can fix this? have androidstudio 1.2.2

here's module:app build.gradle file

apply plugin: 'com.android.application'  android {     compilesdkversion 22     buildtoolsversion "22.0.1"      defaultconfig {         applicationid "app.com.example.android.spotifystreamerstage1"         minsdkversion 15         targetsdkversion 22         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  repositories {     mavencentral()     flatdir {         dirs 'libs'     } }  dependencies {     compile(name:'spotify-web-api-android-0.1.0', ext:'aar')     compile 'com.squareup.retrofit:retrofit:1.9.0'     compile 'com.squareup.okhttp:okhttp:2.2.0'      // other dependencies app might use }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     compile 'com.android.support:appcompat-v7:22.2.0' } 

spotify-web-api-android not included maven central repository. doc of link has wrong info. don't know why..

alternatively have found this link , next codes.

repositories {     maven {         url "https://github.com/z0lope0z/raws/raw/master"     }     mavencentral() }  dependencies {     compile 'kaaes.spotify.webapi.android:spotify-web-api-android:0.1.0' } 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -