appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr ‘android:XXX’
建立Android項目時,ADT會自動的建立一個名為appcompat_v7的 Support Library 項目,然後你會看到values21下面出現了很多的錯誤。具體原因不知
問題解決:将appcompat_v7使用最新的API 22, 然後配置檔案中就會target=android-22
然後會看到我們的Test project OK 了!
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsICO2EDOwIDM2EjNxYDM1EDMy8CX0Vmbu4GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.jpg)