Search code examples
androidapkandroid-build

Android error to Generate Signed APK


I am trying to Build --> Generate Signed Apk, and I am getting this error.

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

Can anyone help me out to this issue?


Solution

  • Please remove Java completely (jdk and jre) and then try downloading Java from original web site and install again.

    It should solve the problem.