Unable to build apk showing an error

#1

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

Screenshot_2

Screenshot_3

#2

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:

#3

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

#4

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

#5

Thank you for your reply… I’ll try

#6

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