2014-12-27 581 views
0

我正嘗試使用Fabric sdk將Twitter登錄集成到我的應用程序中。不允許使用字符串類型(在'android:importantForAccessibility'值爲'noHideDescendants')

我的應用程序要求爲minSDKVersion,targetSDKVersioncompileSDKVersion17。我已經通過了Android Studio的插件提供,當我生成項目,我得到以下錯誤精靈走了......

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

我看到noHideDescendantsAndroid's documentation

importantForAccessibility有效值

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

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

回答

0

公共靜態最終詮釋IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS

在API級別19 的看法是不是無障礙重要,也不是它的任何後裔的意見。

恆值:4(0x00000004)

裁判:http://developer.android.com/reference/android/view/View.html

+0

所以我猜你是在暗示我建立它反對API級別19.這意味着我會失去一些用戶羣,這是壞的! – 2015-01-06 08:15:22

相關問題