Error: ionic build android

Hey all,

I am pretty new to everything, so this is a noob question. I ran into an Error when I was trying to Test It Out:

Error: Failed to find ‘JAVA_HOME’ environment variable. Try setting setting it manually.

Could someone help? How would I set this up manually?

First install Android SDK. In those steps, you will find to set environment variables.

1 Like

Thank you! I installed Android SDK, and couldn’t find where to setup environmental variables on my Mac. Any thoughts?

I thought you were in Windows. First install Java Development Kit


1 Like

Thank you so much for your help. It’s now working!