Unable to build apk showing an error

Hi Gyus,
I’ am unable to build android .apk getting and error. Can any one help me.

Screenshot_2

Screenshot_3

Hi there,

Try echoing JAVA_HOME at console and see if it is picked up, if not your environment variable is not set, or set wrongly, perhaps a system restart is required? :slightly_smiling_face:

Thank you for your replay,I had tried all possible ways but still same.

Try installing java jdk 1.8 and make it your java home. I have same issue before…

Thank you for your reply… I’ll try

Thank you @Cabz I have installed java jdk 1.8 and its working fine.