Search code examples
androidandroid-sdk-manager

Android SDK issue when try to build existing project


I'm new in Android development. I open existing project and get error:

Error:Could not find com.android.support:recyclerview-v7:25.2.0.
Required by:
    project :app

Please install the Android Support Repository from the Android SDK Manager.

When I open a link I see enter image description here

What do I need to do?


Solution

  • click on sdk tools and select support repository click apply and let it download and install once completed. rebuild your project.Android support libs provide backward compatibility and support for newer feature such as recycle view, constraint layout and others.