Android build error

I created an android game but when I try to build and run the game, it gives me this error. It says that the Build completed with a result of ‘Succeeded,’ but it has an error that looks like the one in this
thread. At the end of the console log, it says “Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES].” I did some searching but I couldn’t figure out the problem. The comments say that it’s because I need to make a keystore to sign the APK but I’ve made many new keystores and keys, but it still doesn’t work.

I figured out the problem, I had to downgrade the JDK version and change the build from internal to gradle for it to work.