Android 构建项目时工作室出错

Android studio error while building project

Android studio 在构建项目时出现以下错误:

C:\Users\Dell\Downloads\Login-With-Google-Plus\Android-Login-With-Google-Plus\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7.0.1\res\drawable\abc_btn_check_material.xml

Error:(19, 59) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_check_to_on_mtrl_015'). Error:(20, 30) No resource found that matches the given name (at 'drawable' with value '@drawable/abc_btn_check_to_on_mtrl_000').

资源:

 abc_btn_check_to_on_mtrl_015

  abc_btn_check_to_on_mtrl_000

DrawerActivity 的一部分,但现在是私有的,您必须扩展 DrawerAvtivity

的活动

检查此线程: https://github.com/Suleiman19/Android-Material-Design-for-pre-Lollipop/issues/12

With the new support library versions, a lot of these default resource references are now marked private. Which means you can no longer reference them. Pass in your own Drawable resource to fix the issue. For maintaining a Navigation Drawer across activities, make those Activities extend DrawerActivity.