小编Mis*_*les的帖子

来自Android Studio中appcompat-v7:22.2.0的资源问题

我们有一个来自大学的基础项目.所以我安装Android Studio,安装和更新了Android SDK(API 22)和所有附加内容,并打开了项目,其中appcompat-v7包含了外部库下的库.
当我尝试构建应用程序时,我收到以下错误消息:

C:\PRIVAT\Universität Regensburg\SS-2015\Anwendungsprogrammierung-mit-Android\Studienleistungen\02-Studienleistung\FoodieAppStarterProject\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\layout\notification_media_cancel_action.xml
Error:(26, 18) No resource found that matches the given name (at 'src' with value '@drawable/abc_ic_clear_mtrl_alpha').
C:\PRIVAT\Universität Regensburg\SS-2015\Anwendungsprogrammierung-mit-Android\Studienleistungen\02-Studienleistung\FoodieAppStarterProject\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\res\drawable\abc_btn_check_material.xml
Error:(18, 58) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_check_to_on_mtrl_015').
Error:(19, 29) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_check_to_on_mtrl_000').
Run Code Online (Sandbox Code Playgroud)

... 等等.我得到了很多这些.我不明白为什么.一切似乎都是正确的.

任何人都可以基于此帮助.

android android-appcompat gradle android-studio

5
推荐指数
2
解决办法
3323
查看次数