Gradle が正常にビルドされた (そしてアプリを実行できる) と言っているにもかかわらず、android studio は「import android.support.v4」を解決できず、support.v7 lib の場合は appcompat しか解決できません... ボタン「Use Sync project」を試しましたwith gradle files"、ビルド ツールを最新バージョンにアップグレードしましたが、まだこのエラーが発生します。
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "me.myapp"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0.0"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'org.jsoup:jsoup:1.8.2'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:support-v4:22.1.1'
compile 'com.android.support:appcompat-v7:22.1.1'
}
これを修正するのを手伝ってください!