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
dheena88 commented
Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1
this error in our app ?
iCodeDesigns commented
For me i do clean and rebuild. and it works!
presita commented
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
}
limina-miao commented
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!