这几天使用android studio的各种坑之一:

Error:Could not find com.android.support.constraint:constraint-layout:1.0.2.
Required by:
project :mvp
<a href="searchInBuildFiles">Search in build.gradle files</a>

 

在于没有按照上的sdk中的constraint-layout,打开file->settings,找打android sdk项里的sdk tools,点击右下角的“Show Package Details”,然后找到Support Repository项,在下面的ContraintLayout for android和Solver for ConstraintLayout中选中版本1.0.2进行安装。 

相关文章:

  • 2022-12-23
  • 2021-07-25
  • 2021-09-17
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2021-09-20
  • 2021-05-28
猜你喜欢
  • 2021-05-24
  • 2021-06-01
  • 2021-09-25
  • 2022-12-23
  • 2021-06-05
  • 2021-12-22
  • 2021-09-17
相关资源
相似解决方案