1Android开始,让工程跑起来

1、怎么让项目能运行?

  • 修改Setting

  

  • 使用国内源

在 Kotlin DSL (.kts 文件) 中,配置 Maven 仓库的方式与 Groovy DSL 略有不同。在 Kotlin DSL 中应该这样写:

1 repositories { 
2     maven { url = uri("https://maven.aliyun.com/repository/public/") }
3 }

 

posted @ 2024-04-05 23:14  HuangWQ289  阅读(16)  评论(0)    收藏  举报