我正在尝试将我们的应用程序从 API 25 升级到 API 28。新的 gradle 插件执行从 oldcom.android.support:support-v4:*
到 的重定向androidx.legacy:legacy-support-v4:1.0.0-alpha
,但./gradlew build
找不到.aar
它的包:
* What went wrong:
Could not resolve all files for configuration ':rubens:noflavorDebugCompileClasspath'.
> Could not find support-v4.aar (androidx.legacy:legacy-support-v4:1.0.0-alpha1).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/legacy/legacy-support-v4/1.0.0-alpha1/support-v4-1.0.0-alpha1.aar
此名称列在https://dl.google.com/dl/android/maven2/index.html中,但我无法访问该包。
我该如何解决?