您的位置:首页 > 其它

Error:(2) Attribute "titleTextColor" has already been defined

2015-09-12 23:59 357 查看
今天在github上clone了一份优秀源代码,准备研究一下。但是导入android studio遇到了各种各样的问题。

Error:(2) Attribute "titleTextColor" has already been defined 就是其中一个问题。

google后,发现RootCause是由于compile的一个开源库中属性冲突所致。

solution address:

https://github.com/square/android-times-square/issues/226

将:app/build.gradle文件修改:

-    compile 'com.squareup:android-times-square:1.5.0@aar'
+    compile 'com.squareup:android-times-square:1.6.3@aar'


Error:(2) Attribute "titleTextColor" has already been defined 这个问题在新的版本中修复了,因此我只需要修改到最新版本即可以解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: