我剛將Material Design Support Lib更新爲v23.0.1,現在我的代碼不再編譯。屬性「barLength」已被定義
Attribute "barLength" has already been defined
/Users/admin/Documents/workspace/MyApp/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xml
Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
我該怎麼辦?
編輯:
的2個庫,讓我的錯誤是:
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:appcompat-v7:22.2.0'
Thanks.I也有我的自定義進度wheellength.After我重命名後,問題解決。謝謝 – YeeKhin
這是問題tx –
可能需要檢查attr.xml,我與自定義ProgressBar有相同的問題 – HK1988