title: Failed to resolve: 'de.greenrobot:eventbus:2.4.0'
body: <p>I am using Android Studio but when I try to add: <code>compile 'de.greenrobot:eventbus:2.4.0'</code> to my <code>dependencies</code> in my app component's gradle file, I get a banner: <em>Project sync succeeded. Open the 'Messages' view to see the errors found</em>. And in the messages pane, it shows the error message:</p>
  
  <pre><code>Error:(28, 13) Failed to resolve: de.greenrobot:eventbus:2.4.0
  &lt;a href="openFile"&gt;Show in File&lt;/a&gt;&lt;br&gt;&lt;a href="open.dependency.in.project.structure"&gt;Show in Project Structure dialog&lt;/a&gt;
  </code></pre>
  
  <p>When checking <a href="https://github.com/greenrobot/EventBus" rel="nofollow">EventBus</a> on github I find that the latest version does exist on <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22de.greenrobot%22%20AND%20a%3A%22eventbus%22" rel="nofollow">maven central</a>.</p>
  
  <p>Could it be an android studio misconfiguration or something?</p>
  
  <p>Here is the rest of the dependencies that works fine (without the event bus dependency):</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          applicationId "com.aiesec"
          minSdkVersion 9
          targetSdkVersion 22
          versionCode 1
          versionName "0.1"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.0.0'
      compile 'com.parse.bolts:bolts-android:1.+'
      compile 'com.nineoldandroids:library:2.4.0'
      compile 'com.android.support:support-v4:22.0.0'
      compile 'com.android.support:cardview-v7:22.0.0'
      compile 'de.greenrobot:eventbus:2.4.0'
  }
  </code></pre>