Es gibt einen Fehler im Android Studio ist, wenn das Projekt erstellt wird:kann nicht ausführen Build mit Gradle Verteilung ‚http://services.gradle.org/distributions/gradle-1.6-bin.zip‘
Die Fehler im Android Studio:
Gradle: Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':MyApplication:dexDebug'.
> Running C:\Users\Michael\AppData\Local\Android\android-studio\sdk\build-tools\android-4.2.2\dx.bat failed. See output
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
die Ausgabe im Befehlsfenster für gradlew compileDebug --stacktrace
ist:
The TaskContainer.add() method has been deprecated and is scheduled to be remove
d in Gradle 2.0. Please use the create() method instead.
:MyApplication:prepareDebugDependencies
:MyApplication:compileDebugAidl UP-TO-DATE
:MyApplication:generateDebugBuildConfig UP-TO-DATE
:MyApplication:mergeDebugAssets UP-TO-DATE
:MyApplication:compileDebugRenderscript UP-TO-DATE
:MyApplication:mergeDebugResources UP-TO-DATE
:MyApplication:processDebugManifest UP-TO-DATE
:MyApplication:processDebugResources UP-TO-DATE
:MyApplication:compileDebug UP-TO-DATE
BUILD SUCCESSFUL
Total time: 27.437 secs
der Ausgang für den Befehl gradlew clean build
ist:
The TaskContainer.add() method has been deprecated and is scheduled to be remove
d in Gradle 2.0. Please use the create() method instead.
:MyApplication:clean
:MyApplication:prepareDebugDependencies
:MyApplication:compileDebugAidl
:MyApplication:generateDebugBuildConfig
:MyApplication:mergeDebugAssets
:MyApplication:compileDebugRenderscript
:MyApplication:mergeDebugResources
:MyApplication:processDebugManifest
:MyApplication:processDebugResources
:MyApplication:compileDebug
:MyApplication:dexDebug
Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
:MyApplication:dexDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':MyApplication:dexDebug'.
> Running C:\Users\Michael\AppData\Local\Android\android-studio\sdk\build-tools\
android-4.2.2\dx.bat failed. See output
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 33.459 secs
C:\Users\Michael\AndroidStudioProjects\MyApplicationProject>
Wer eine Idee?
Android Studio in C installiert ist android-studio \, Es gibt keine Leerzeichen im Pfad –
Es gibt * Leerzeichen in * einigen * Pfad, für etwas, das während Dexing ausgeführt wird. Was es ist, weiß ich nicht. Haben Sie Ihren Build.gradle angepasst? – Delyan
Im Moment habe ich ein anderes Problem mit dem SDK-Manager, daher kann ich dieses Problem nicht weiter untersuchen, aber danke für Ihre Hilfe! –