2
我試圖設置樣式爲Android的佈局圖像按鈕,但它給了我這個錯誤在Eclipse:錯誤解析風格佈局
app_download_detail.xml: Failed to parse file N:\My Projects\app\res\drawable\title_home.xml
org.xmlpull.v1.XmlPullParserException: Binary XML file line #3: <item> tag requires a 'drawable' attribute or child tag defining a drawable
at android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:167)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:787)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:728)
at .....
----->這個問題通過升級解決了我Adt to new version ... thnx of all ..
給出title_home.xml的代碼 – Snicolas
請在問題本身中發佈代碼。不作爲評論。編輯你的問題並粘貼進去。 –