Error building APK

Building android works only with JDK8. You are using JDK13. See this thread Java 9 (JDK 9) support by Unity Android and issues that people had there. You might have to uninstall JDK13 as well, just installing JDK8 and setting it in Unity editor might be not enough.