[英]error: package android.support.v7.app does not exist after migrating to android x
I have migrated to android x, Included google()
repo to build.gradle(project's) and implementation 'com.android.support:appcompat-v7:22.0.0'
to app's build.gradle, After migrating to android x can not install support libraries through sdk manager.我已经迁移到 android x,包括
google()
repo to build.gradle(project's) 和implementation 'com.android.support:appcompat-v7:22.0.0'
to app's build.gradle,迁移到 android x 后无法安装通过 sdk 管理器支持库。 how can i solve this?我该如何解决这个问题? I have visited similar questions and no suitable answer for my case.
我访问过类似的问题,但没有适合我的案例的答案。
Try to use AndroidX
version of appcompat
尝试使用
AndroidX
版本的appcompat
implementation 'androidx.appcompat:appcompat:1.1.0'
Instead of代替
implementation 'com.android.support:appcompat-v7:22.0.0'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.