Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio doesn't find com.android.support:support-v4:19.1.0

I have imported one project into Android Studio but I got the error:

Could not find com.android.support:support-v4:19.1.0.

Where could I find this file? I have imported the project using Gradle.

I have the Android Studio version 0.5.7 the last android sdk and java 1.7u55.

like image 218
Mazzy Avatar asked Dec 12 '22 06:12

Mazzy


1 Answers

Just add this code to you build.gradle file

dependencies {
    compile 'com.android.support:support-v4:19.+'
}

and press Tools -> Android -> Sync Project with Gradle Files

Gradle will download necessary files by himself

like image 111
Dmitry Avatar answered Jan 17 '23 10:01

Dmitry