frankiesardo/icepick

Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1

dheena88 opened this issue · 3 comments

Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1
this error in our app ?

For me i do clean and rebuild. and it works!

For me i add this code in gradlefile and rebuild. and it works!

dexOptions {
incremental = true;
preDexLibraries = false
javaMaxHeapSize "4g" // 2g should be also OK
}

For me i place the jdk in a directory with a file name without spaces. For example, don‘’t place the jdk in a directory with spaces such as “Program Files”, and it works!