AS导包失败 Warning
Warning:project ‘:app’: Unable to build Kotlin project configuration
Details: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find annotation.jar (androidx.annotation:annot。。。
解决办法
您可能会收到错误,因为您已在google()存储库之前声明了jcenter()存储库.如果无法在首先指定的存储库中解析库,则构建将失败,
确保在build.gradle文件中的jcenter()之前声明了google()存储库,它应该再次运行