dharmendra vaishnav dharmendra vaishnav - 1 year ago 125
Android Question

Set ANDROID_HOME environment variable in mac

I am new in developing native app using Salesforce SDK. I tried to create android project from command line using forcedroid tool but there is problem in setting environment variable named ANDROID_HOME.

But i don't know how to set this variable.

I am attaching screenshot to describe my problem correctly.

enter image description here

Answer Source

Open the terminal and type :

export ANDROID_HOME=/Applications/ADT/sdk 

Add this to the PATH environment variable


Hope it works to you!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download