Android Studio could not find any version that matches com.android.support:appcompat-v7:+

From Android Studio go to: Tools >> Android >> SDK Manager

Select and install "Extras|Android Support Repository"


For me it worked after changing the version from 7:27.+ to 7:+


In Project > app > build.gradle file replace the line

implementation 'com.android.support:appcompat-v7:+'29.+'

with

implementation 'com.android.support:appcompat-v7:+'

and line

implementation 'com.android.support:design:29.+'

with

implementation 'com.android.support:design:+'

Then clean build