在将compileSdkVersion切换为25并使用最新的android.support库版本后,我在gradle sync / build时遇到以下错误。
compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.android.support:design:25.0.0'
compile 'com.android.support:recyclerview-v7:25.0.0'
错误:
No resource found that matches the given name (at 'android:textColorHint' with value '@color/hint_foreground_material_light').
有什么想法吗?
修改 我认为那是因为Adobe Creative SDK ......不确定。其他人在SDK 25上运行良好。
相关问题:error while using the support library with adobe creative SDK for android
我们不应该等待解决方案......也许我正在使用更新的版本(' com.adobe.creativesdk:image:4.6.3')
EDIT2:我发现这是来自" fengdai alertdialog"这是一个Adobe SDK依赖项。但是已经弃用了!我向Adobe寻求一些支持。
答案 0 :(得分:14)
解决方案: 将这些行添加到colors.xml:
<color name="hint_foreground_material_light">#00000000</color>
<color name="hint_foreground_material_dark">#00000000</color>
这是一个解决方法,直到adobe修复问题。
适用于v10.0.0,也适用于所有其他人。
来自ADOBE的回答:
该计划将于本周正式发布。话虽如此,我们做到了 有更新版本可供下载,但文档 网站上的集成不会更新。如果你愿意,你可以 使用我们在github上的文档。
答案 1 :(得分:2)
与我相同,现在我只是将其降级为24.2.1版本,错误消失了。我很确定这是支持库错误之一。