2016-12-27 2 views
0
gescheitert

Ich bin neu mit Android Studio und Programmierung auf Android und ich bekomme diese Fehlermeldung:Datei kann nicht crunch - Gradle Aufgaben

Information:Gradle tasks [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources]

Error:Failed to crunch file C:\Users\alexa\Documents\Projectos\Blueprint Apocalypse\Mobile Application\Blueprint_App\MyApplication\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png into C:\Users\alexa\Documents\Projectos\Blueprint Apocalypse\Mobile Application\Blueprint_App\MyApplication\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png

Error:Execution failed for task ':app:mergeDebugResources'. Error: Failed to crunch file C:\Users\alexa\Documents\Projectos\Blueprint Apocalypse\Mobile Application\Blueprint_App\MyApplication\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png into C:\Users\alexa\Documents\Projectos\Blueprint Apocalypse\Mobile Application\Blueprint_App\MyApplication\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_list_selector_disabled_holo_light.9.png

Wie kann ich dieses Problem lösen?

Antwort

1

Leider ist das Problem hier mit dem Pfad des Projekts.

Bitte bewegen Sie sie auf kurzem Weg, wie - C: \ Users \ alexa \ Documents \ IhrProjekt.

Ich hatte dieses Problem vor und es funktionierte nach dem Verschieben des Projekts auf einen kurzen Pfad.

Seltsam, aber nur Workaround ich weiß.

0

Sauberes Projekt.

Build > Clean Project 

Eine weitere Option ist goto build.gradle in Projektteil und die gradle Version

dependencies { 
    classpath 'com.android.tools.build:gradle:x.x.x' 
} 
Herabstufung
Verwandte Themen