Compatibilità versione Post 1.0 Compatibilità A partire da Android Studio 1.0 e dal plug-in Gradle per Android 1.0, la compatibilità è un requisito fondamentale. Mentre stiamo ancora esaminando finalizzare la nostra politica si dovrebbe almeno si aspettano:
Studio 1.x funziona con Gradle Plugin 1.y
Newer versions of the Gradle plugin may require newer versions of Studio to enable the new features in the IDE, but the project should open in older versions of Studio, and build from there (since Gradle does the build). We will be very careful about this.
We will determine later our compatibility story between Studio 2.x and Gradle Plugin 1.x and between Studio 1.x and Gradle Plugin 2.x
We will make every effort to keep compatibility where possible, and to provide good Quick Assist to help with migration where applicable.
Gradle plug 1.0.0 - 1.1.3 funziona con Gradle 2.2.1 - 2.3.
It does not work with Gradle 2.4+
Gradle plug 1.2+ lavora con Gradle [2.2.1, 3.0 [
Newer versions of the Plugin may require a newer version of Gradle to benefit from advanced features.
However the current 1.2+ should work with [2.2.1, 3.0[
(We cannot guaranteed compatibility with 3.x as it may introduce breaking changes: Gradle 1.x -> 2.0 introduced Groovy breaking changes)
Android Studio Android Gradle Plugin Gradle
1.0.0+ 1.0.0 - 1.1.3 2.2.1 - 2.3
1.0.0+ 1.2+ 2.2.1+
Messaggio compatibilità 1.0 DSL
Il DSL cambiato molto prima di 1.0, ma dovrebbe essere stabile ora .
Se/Quando dobbiamo cambiare le cose avremo lunghi periodi di deprecazione, probabilmente più lunghi di 6 mesi, forse 12 mesi. Compatibilità anteprima Questa tabella indica la compatibilità per i componenti precedenti alla 1.0.
Tutti questi cambiamenti sono avvenuti perché abbiamo ottimizzato molto il modello scambiato tra IDE e Gradle. Tutto questo lavoro è stato per garantire la stabilità dopo 1.0.
Per maggiori informazioni vai a http://tools.android.com/tech-docs/new-build-system/version-compatibility
si dovrebbe provare a riavviare prima –
No, è avuto modo di essere qualcosa di diverso .. Ho già Riavviare il PC ed è lo stesso problema. – Tedha
Se si pulisce il progetto e terminato senza errori, penso che dovresti controllare la build di configurazione di Gradle: https://developer.android.com/tools/building/configuring-gradle.html –