Android Studio 添加 percent 依赖后 gradle sync 失败

新手上路,请多包涵

使用 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 后失败
图片描述

阅读 3.6k
1 个回答

我也遇到这个问题了,
mark一下

估计是这个库出什么问题了吧。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进