Shahek
Shahek

Reputation: 83

Gradle project sync failed android studio

I downloaded Arc library form github and imported it as module then I got this error.

Error:Cause: failed to find target with hash string 'android-4' in: C:\Users\shahek\AppData\Local\Android\sdk Open Android SDK Manager I also installed Api 15.

This is my build.gradle setting.

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
    applicationId "com.example.shahek.myapplication"
    minSdkVersion 18
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}

Upvotes: 0

Views: 1425

Answers (1)

Peter Zverkov
Peter Zverkov

Reputation: 143

You must install version 23 and all this things must be solved. If it don't help you, try to download this library from github and add into project and modify min sdk version in gradle/manifest to yours 18.

Good luck.

Upvotes: 1

Related Questions