0

I am new to Android Studio and I can't create or import any project. When I tried to import a new project, it show error like:

Could not find any version that matches com.android.support:support-v4:21.0.+.
Searched in the following locations:
    https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
    https://repo1.maven.org/maven2/com/android/support/support-v4/
Required by:
    Telegram-master:TMessagesProj:unspecified

Consult IDE log for more details (Help | Show Log)

Please help me solve this problem.

newfurniturey
  • 37,556
  • 9
  • 94
  • 102
user3634291
  • 69
  • 3
  • 10

1 Answers1

0

You need to install the packages with Android SDK Manager for the version of android you are going to develop.

See HERE and HERE how to do it.

See THIS answer to change SDK path if you need to.

Good luck!

Community
  • 1
  • 1
danizmax
  • 2,446
  • 2
  • 32
  • 41