nicht enthält Ich verwende Android Studio 2.1.1. Ich folge diesem Tutorial: http://www.androidhive.info/2016/05/android-working-with-card-view-and-recycler-view/Das Projekt 'Meine Anwendung' verwendet möglicherweise eine Version von Gradle, die die Methode
Dies ist Datei build.gradle
:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
compile 'com.android.support:cardview-v7:23.3.+'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Dann Android Studio Hinweis:
Das Projekt 'My Application' kann eine Version von Gradle verwenden, dass nicht enthält die Methode
Ich kann kein Projekt erstellen. Hilf mir, das Problem zu lösen.
Post-Modul 'build.gradle' Datei hier. – Ironman