No resource found Errors for support:appcompat-v7:22.0.0 on Android Studio -
am trying add design support library following guidelines https://github.com/codepath/android_guides/wiki/design-support-library , i'm having issues.
dependencies { compile 'com.android.support:appcompat-v7:22.2.0' }
trying add , giving me lots of xml errors when building.
error:(24, 63) no resource found matches given name (at 'drawable' value '@drawable/abc_textfield_default_mtrl_alpha'). error:(25, 93) no resource found matches given name (at 'drawable' value '@drawable/abc_textfield_default_mtrl_alpha'). error:(26, 33) no resource found matches given name (at 'drawable' value '@drawable/abc_textfield_activated_mtrl_alpha'). error:(20, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_dark'). error:(21, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_dark'). error:(20, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_light'). error:(21, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_light'). error:(18, 29) no resource found matches given name (at 'drawable' value '@drawable/abc_list_pressed_holo_light'). error:(22, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_dark'). error:(23, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_dark'). error:(22, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_light'). error:(23, 118) no resource found matches given name (at 'drawable' value '@drawable/abc_list_selector_disabled_holo_light'). error:(19, 27) no resource found matches given name (at 'drawable' value '@drawable/abc_btn_rating_star_off_mtrl_alpha'). error:(21, 27) no resource found matches given name (at 'drawable' value '@drawable/abc_btn_rating_star_off_mtrl_alpha'). error:(23, 27) no resource found matches given name (at 'drawable' value '@drawable/abc_btn_rating_star_on_mtrl_alpha'). error:(19, 29) no resource found matches given name (at 'drawable' value '@drawable/abc_btn_switch_to_on_mtrl_00001'). information:build failed
this build.gradle below
apply plugin: 'com.android.application' android { compilesdkversion 22 buildtoolsversion "22.0.1" defaultconfig { applicationid "com.example.hp.navigationexercise" minsdkversion 21 targetsdkversion 22 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:support-v4:22.2.0' compile 'com.android.support:appcompat-v7:22.0.0' compile 'com.android.support:support-annotations:22.2.0' compile 'com.android.support:design:22.2.0' compile 'com.android.support:recyclerview-v7:22.2.0' }
i got error when filename long.
if running under windows, build/intermediates/... files can long. odd error 1 if happens.
Comments
Post a Comment