build.gradle file error in android studio -


i've tried add library android studio https://github.com/nostra13/android-universal-image-loader/wiki/quick-setup

and after compiling error:a problem occurred configuring project ':app'.

could not resolve dependencies configuration ':app:_debugcompile'. not find com.android.support:appcombat-v7:22.2.0. searched in following locations: https://jcenter.bintray.com/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.pom https://jcenter.bintray.com/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.jar file:/users/sergiumereuta/library/android/sdk/extras/android/m2repository/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.pom file:/users/sergiumereuta/library/android/sdk/extras/android/m2repository/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.jar file:/users/sergiumereuta/library/android/sdk/extras/google/m2repository/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.pom file:/users/sergiumereuta/library/android/sdk/extras/google/m2repository/com/android/support/appcombat-v7/22.2.0/appcombat-v7-22.2.0.jar required by: xmlparsingtest:app:unspecified

can me solve problem? thanks! here build.gradle file:

apply plugin: 'com.android.application' android { compilesdkversion 21 buildtoolsversion "21.0.1"  defaultconfig {     applicationid "com.example.sergiumereuta.xmlparsingtest"     minsdkversion 8     targetsdkversion 21     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:appcombat-v7:22.2.0' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4' } 

you have typo. replace app compact dependency for:

compile 'com.android.support:appcompat-v7:22.2.0' 

should appcompat , not appcombat


Comments