title: Adding Dependency ZXing android embedded
body: <p>I've started a new project in Android Studio and I want to import the zxing-android-embedded to allow to me create a simple barcode scanner within my application.
  <a href="https://github.com/journeyapps/zxing-android-embedded" rel="nofollow noreferrer">Found here on github</a></p>
  
  <p>Following instruction on there and also on different sources like this SO answer:
  <a href="https://stackoverflow.com/a/23788163/3364482">https://stackoverflow.com/a/23788163/3364482</a></p>
  
  <p>However I have added the compile optins to my <code>build.gradle</code> but I'm getting the "Failed to resolve" errors:</p>
  
  <blockquote>
    <p>Failed to resolve: com.google.zxing:core:3.2.0<br>
    Failed to resolve: com.journeyapps:zxing-android-embedded:2.3.0<br>
    Failed to resolve: com.journeyapps:zxing-android-integration:2.3.0</p>
  </blockquote>
  
  <p>But as far as I'm aware my buid.gradle is as instructed:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
  defaultConfig {
      applicationId "com.myapps.practice.helloworld"
      minSdkVersion 19
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  repositories {
      jcenter()
  }
  dependencies {
      compile 'com.journeyapps:zxing-android-embedded:2.3.0@aar'
      compile 'com.journeyapps:zxing-android-integration:2.3.0@aar'
      compile 'com.google.zxing:core:3.2.0'
      compile 'com.android.support:appcompat-v7:23.1.1'
      compile 'com.android.support:design:23.1.1'
  }
  </code></pre>
  
  <p>EDIT: I'm not in Offline Mode.</p>