Android Studio keeps refusing to resolve com.android.support:appcompat-v7:29.0.1
It happens because com.android.support:appcompat-v7:29.x.x
doesn't exist.
You can check the revision history in the official doc.
You can:
- Use the last 28.0.0 release of the support library
- migrate to androidx
Also check this note:
Note: 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.
ERROR: Failed to resolve: com.android.support:appcompat-v7:29.0.1'
Migrate to androidX
by going to:
Refactor->Migrate to androidX
Failed to resolve: com.android.support:appcompat-v7:28.0
28.0.0
is the final version of support libraries. Android has migrated to AndroidX. To use the latest android libraries, Migrating to AndroidX
Edit: Versions
28.0.0-rc02
and28.0.0
are now available.
I don't see any 28.0
version on Google Maven. Only 28.0.0-alpha1
and 28.0.0-alpha3
. Just change it to either of those or how it was previously, i.e., with .+
which just means any version under 28
major release.
For an alpha appcompat release 28.+
makes more sense.
Failed to resolve: com.android.support:design:26.2.0 error in Android Studio
Failed to resolve: com.android.support:design:26.2.0
Failed to resolve: com.android.support:appcompat-v7:26.2.0
It's simply because the last version of support library 26 is version 26.1.0
. You better to use support library version 28.0.0 or either upgrading to AndroidX.
Related Topics
Javadoc in Eclipse Failing to Recognize Packages
Android Webview - Intercept Clicks
List View Items Changes Position When Scrolling Android
Image Size for All Screen Devices
How Can Write Code to Make Sharedpreferences for Array in Android
How to Show and Hide Actionbar with Appcompat V.7
Applying Colorfilter to Imageview with Shapeddrawable
Using Adb Logcat with a Real Phone (And Not the Emulator)
Why Getspeed() Always Return 0 on Android
How to Setlayoutparams() for an Imageview
How to Reference an Asset in a Library Project
How to Check If "Android.Permission.Package_Usage_Stats" Permission Is Given
Android Studio Getslotfrombufferlocked: Unknown Buffer Error
How to Filter Listview Data When Typing on Edittext in Android
How to Get Profile Like Gender from Google Signin in Android
Android: Failed to Allocate Memory
How to Generate 11 Char Hash Key for Sms Retriever with Google App Signing