Reputation: 4675
My app currently works with targetSdkVersion 25
. When I change it to 28, I also have to update all of my support libraries to 28.0.0. To avoid conflicts with the support libraries used by my other dependencies, I add the following two lines to all of my dependencies that also have some type of support library dependence:
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'appcompat-v7'
When I do that I get a “package android.support.v7.app does not exist” error, and numerous other (mostly Glide) missing package errors.
How can I smoothly upgrade to SDK 28?
Upvotes: 0
Views: 297
Reputation: 7914
Actually you should migrate to AndroidX. Read here: https://developer.android.com/jetpack/androidx/migrate
Upvotes: 1