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.+'
网友评论