Android Studio Could Not Find Any Version That Matches Com.Android.Support:Appcompat-V7:+

Could not find any version that matches com.android.support:appcompat-v7:29.+

Try migrating to Androidx

Android Studio > Refactor Menu > Migrate to AndroidX...

From docs:

With the release of Android 9.0 (API level 28) there is a new version
of the support library called AndroidX which is part of Jetpack. The
AndroidX library contains the existing support library and also
includes the latest Jetpack components.

You can continue to use the support library. Historical artifacts
(those versioned 27 and earlier, and packaged as android.support.*)
will remain available on Google Maven. However, all new library
development will occur in the AndroidX library.

We recommend using the AndroidX libraries in all new projects. You
should also consider migrating existing projects to AndroidX as well.

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"

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

I've been dealing with this too. It looks like they updated Android Studio to use appcompat v7:23 as a default even though it hasn't been released yet.

Failed to resolve: com.android.support:appcompat-v7:30.0.0

It happens because the support libraries v.30 don't exist.

Use the androidx library:

implementation 'androidx.appcompat:appcompat:1.1.0'

or use the last support library:

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


Related Topics



Leave a reply



Submit