1

I have updated my Android project from version 23 to 26. I received the error message below. Any idea?

Could not find com.android.support:appcompat-v7:26.0.1.
Required by:
    project :app

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

enter image description here

kenlukas
  • 3,616
  • 9
  • 25
  • 36
B David
  • 43
  • 9

1 Answers1

0

In the android gradle file you need to specify the following:

compileSdkVersion 26
buildToolsVersion "26.0.1"

Then, find the text compile "com.android.support:appcompat-v7" and make sure it says

compile "com.android.support:appcompat-v7:26.0.1"
Sarkis
  • 303
  • 2
  • 12
VIISHRUT MAVANII
  • 11,410
  • 7
  • 34
  • 49
  • Can you please show me when to download the correspond library? I have added the mentioned library but still I couldn't refer to the compile "com.android.support:appcompat-v7:26.0.1". – B David Oct 24 '18 at 12:48