簡體   English   中英

不允許的字符串類型(在'android:importantForAccessibility'處,值為'noHideDescendants')

[英]String types not allowed (at 'android:importantForAccessibility' with value 'noHideDescendants')

我正在嘗試使用其Fabric SDK將Twitter Login集成到我的應用程序中。

我的應用程序對minSDKVersiontargetSDKVersioncompileSDKVersion的要求是17 我經歷了Android Studio插件提供的向導,並且在構建項目時遇到以下錯誤...

Error:(107, 56) String types not allowed (at 'android:importantForAccessibility' with value 'noHideDescendants').

我看到noHideDescendants是一個有效的價值importantForAccessibilityAndroid的文檔

錯誤來自Twitter SDK的中間構建文件,其values.xml tw__CompactAttributionLine中為tw__CompactAttributionLine values.xml

有人知道解決此問題的方法嗎?

公共靜態最終int IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS

API級別19中已添加該視圖對於可訪問性並不重要,其任何后代視圖也不重要。

常數值:4(0x00000004)

參考: http : //developer.android.com/reference/android/view/View.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM