使用 android studio 在 bulde.gradle 中添加支持百分比布局
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support.constraint:constraint-layout:1.0.1'
compile 'com.android.support:precent:24.2.1'
testCompile 'junit:junit:4.12'
}
点击 Gradle project sync 后失败
我也遇到这个问题了,
mark一下
估计是这个库出什么问题了吧。