unsplash / unsplash-photopicker-android

📱An Android photo picker to search and download photos from Unsplash.
MIT License
336 stars 62 forks source link

Unable to add dependency to project. #6

Closed Kalim06 closed 4 years ago

Kalim06 commented 4 years ago

I followed the steps for Installation but getting an error. Maybe I am doing something wrong, can you please guide regarding this?

Project Gradle File -

image

App Gradle File with Gradle sync error -

image

Can you explain why I am facing this issue?

goui commented 4 years ago

Hello,

you need to replace x.y.z with the version you want to use. The latest is 1.0.0. So this line: implementation 'com.unsplash.pickerandroid:photopicker:x.y.z' Becomes: implementation 'com.unsplash.pickerandroid:photopicker:1.0.0'

Kalim06 commented 4 years ago

Thanks for replying back. Can you also add a link in the readme so that we can find out the latest versions of the library? Also, you can close this. Thanks once again.

goui commented 4 years ago

on top of the readme there is the version image