Can you provide the java skd's owner which you're using, one time I used Correto and couldnt build Android, then I changed to Oracle, everything worked fine