Android Studio gradle failed to resolve for SDK version 16
<p>I just installed Android Studio for a new class and I can't even run a HelloWorld program. There are no third party dependencies as I literally just installed Android Studio, SDK version 16, the latest support repository, latest build tools, and created a Nexus 5 AVD running 4.1.2 (16). I keep getting </p>

<pre><code>"Error:(24,13) Failed to resolve: com.android.support.appcompat-v7:16.+"
</code></pre>

<p>Here is my <code>build.gradle</code>:</p>

<pre><code>apply plugin: 'com.android.application'

android {
compileSdkVersion 16
buildToolsVersion '23.0.2'

defaultConfig {
    applicationId "edu.usna.mobileos.hellooooworld"
    minSdkVersion 16
    targetSdkVersion 16
    versionCode 1
    versionName "1.0"
}
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:16.+' // line giving me the error
}
</code></pre>

<p>I've tried many other solutions I've found online, but none have worked so far. I need to work with API version 16 (Android 4.1.2) in this class, so using a newer API isn't an option.</p>