美文网首页
2019-01-11 android studio学习

2019-01-11 android studio学习

作者: 盛小树 | 来源:发表于2019-01-11 17:52 被阅读0次

1、添加百分比布局,sync gradle时报错

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:percent:26.0.1.

Open File

Show Details

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.android.support:percent:26.0.1.

Open File

Show Details

Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.android.support:percent:26.0.1.

Open File

Show Details

Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.android.support:percent:26.0.1.

Open File

Show Details

Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.android.support:percent:26.0.1.

Open File

Show Details

解决方法:

将implementation'com.android.support:percent:26.0.1'改成implementation'com.android.support:percent:26.0.+'

相关文章

网友评论

      本文标题:2019-01-11 android studio学习

      本文链接:https://www.haomeiwen.com/subject/mfxfdqtx.html