2016-11-12 2 views
0

Erste Fehler beim Lauf Android-Anwendung in Android Studio Das ist mein Logcat ist:Android Studio Erste Fehler beim Durchlauf App

Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:assembleDebug] 
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. 
> Could not add entry '0' to cache localClassSetAnalysis.bin (F:\SATISH BackUp\Android 2016\EdulocationApp\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin). 
Information:BUILD FAILED 
Information:Total time: 17.616 secs 
Information:1 error 
Information:0 warnings 
Information:See complete output in console 
+0

Post-App-Code. –

+0

Logcat auf Fehler überprüfen und hier posten. –

Antwort

0

Sol. 1) die JAVA_HOME in Umgebungsvariablen wie folgt ... Variablenname: JAVA_HOME Variable Wert: C: \ Programme \ Java \ jdk1.8.0_111

Sol. 2) Legen Sie den SDK-Speicherort in den Projekteinstellungen fest enter image description here

+0

ok, JAVA_HOME nicht konfiguriert.But Nach dem Konfigurieren wurde der gleiche Fehler ausgelöst ... –

+0

Ping den Screenshot des Protokolls –

+0

Froh, dass Sie mir helfen könnten.Am nur löschen und erstellen Sie das gleiche Projekt, Problem wurde behoben. –

Verwandte Themen