Error: Ursache: Ziel mit Hash-Zeichenfolge "Google Inc.: Google APIs: 23" in: E: \ AndroidStudio \ SDK konnte nicht gefunden werden.

Ich habe den obigen Fehler und habe keine Ahnung, warum ich ihn noch habe. Ich habe API 23 mehrere Male neu installiert und googelt, und das einzige Update, das ich gefunden habe, war die Neuinstallation der API, aber immer noch das Problem.

Hat jemand eine Lösung dafür?

        apply plugin: 'com.android.application'

    android {
      compileSdkVersion 'Google Inc.:Google APIs:23'
      buildToolsVersion '23.0.2'

      defaultConfig {
        applicationId "com.example.app"
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
      }

      lintOptions {
        disable 'InvalidPackage'
      }


      buildTypes {
        release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
      }
    }

    dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.1.1'
      compile 'com.android.support:design:23.1.1'
      compile 'me.neavo:volley:2014.12.09'
      compile 'com.google.code.gson:gson:2.5'
      compile 'com.jakewharton:butterknife:7.0.1'
      compile 'com.android.support:support-v4:23.1.1'
    }

Antworten auf die Frage(14)

Ihre Antwort auf die Frage