Wenn ich öffne die ARSimpleProj in Android Studio und versuchen, die gradle Version bekomme ich diese Meldung zu aktualisieren:ARToolKit ARSimpleProj Fehler
Failed to update the version of the Android Gradle plugin.
Please click 'OK' to perform a textual search and then update the build files manually.
Danach, erhalte ich diese Fehlermeldung:
Error:(58, 0) Gradle DSL method not found: 'android()'
Possible causes:
* The project 'ARSimpleProj' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0). Fix plugin version and sync project
* The project 'ARSimpleProj' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file
* The build file may be missing a Gradle plugin. Apply Gradle plugin.
Ich habe versucht, die android->buildToolsVersion
und Abhängigkeiten Tag von der obersten Ebene, build.gradle
Datei (wie in der AS_Migration
Dokument angezeigt) zu entfernen, aber es funktioniert immer noch nicht.