我正在尝试将我们的应用从API 25升级到API 28.新的gradle插件执行从旧com.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中,但我无法访问该程序包。
我该如何解决?