Android SDK版本25 – android.support v7:25給出“找不到符合@ color / hint_foreground_material...
在將compileSdkVersion切換到25並使用最新的android.support庫版本之後,在gradle同步/構建時會收到以下錯誤.
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.
相關問題:ofollow,noindex" target="_blank">error while using the support library with adobe creative SDK for android
我們不應該等待解決方案…也許有一個較新的版本,因為我使用(‘com.adobe.creativesdk:image:4.6.3’)
EDIT2:我發現這是一個Adobe SDK依賴的“fengdai alertdialog”.但是DEPRECATED!我問Adobe一些支援.
解:
將這些行新增到您的colors.xml中:
<color name="hint_foreground_material_light">#00000000</color> <color name="hint_foreground_material_dark">#00000000</color>
這是一個解決方法,直到adobe解決問題.
與v10.0.0一起使用,也可以與所有其他人一起工作.
來自ADOBE的答案:
The plan is to officially release it this week. With that said, we dohave the updated version available for download already, but the docof the integration on the website is not updated. If you like you canuse the doc we have on github.
http://stackoverflow.com/questions/40248008/android-sdk-version-25-android-support-v725-gives-no-resource-found-that-mat