最新版ADT建立項目報錯解決辦法(三),adt建立項目

來源:互聯網
上載者:User

最新版ADT建立項目報錯解決辦法(三),adt建立項目

自從在Google官網下載了最新版的ADT,版本號碼version:23.0.2.1259578,整合版的(adt-bundle-windows-x86-20140702.rar)。筆者就走上了與報錯鬥爭的道路,建立項目時總無故報錯,提示內容為:

[2014-12-11 09:46:50 - test] E:\workspace\test\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2014-12-11 09:46:50 - test] [2014-12-11 09:46:50 - test] E:\workspace\test\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.[2014-12-11 09:46:50 - test] [2014-12-11 09:46:50 - test] E:\workspace\test\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.[2014-12-11 09:46:50 - test] [2014-12-11 09:46:50 - appcompat_v7] WARNING: unable to write jarlist cache file E:\workspace\appcompat_v7\bin\jarlist.cache[2014-12-11 09:46:50 - appcompat_v7] WARNING: unable to write jarlist cache file E:\workspace\appcompat_v7\bin\jarlist.cache

最近筆者發現一個新方法,建立項目時,編譯平台只要選擇4.X(API 21)即可不報錯,或者在appcompat_v7工程右鍵Peropeties屬性選擇Android,平台選擇21也同樣結果,提示報錯資源檔可正常載入,當然你的得實現更新了你的SDK,更新失敗的朋友可以移步:《SDK更新失敗:Fetching URL: https://dl-ssl.google.com/android/repository/...failed解決方案》。
如果這個方法不行,請戳:《最新版ADT建立項目報錯解決辦法(一)》;《最新版ADT建立項目報錯解決辦法(二)》試試。希望對各位路過的朋友有所協助!
轉載請註明出處和連結:http://blog.csdn.net/xiong_it/article/details/42292065,謝謝!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.