So i added gson-2.2.4.jar to the libs dir (I\'m using android studio). My project couldn\'t find the gson stuff so I added it as a library dependency to my module in the \"P
I've faced with same issue.
To solve it be sure that you specify maven central for android plugin
repositories {
mavenCentral()
}
And it should be added twice if you are defining build script
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5+'
}
}
repositories {
mavenCentral()
}
apply plugin: 'android' dependencies {
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:support-v4:13.0.0'
compile project(':libraries:volley')
}