Environment variable ANDROID_HOME is not set

Multi tool use
up vote
0
down vote
favorite
Environment variable ANDROID_HOME is not set while it is set in .bashrc. Please help me to resolve this problem. One more issue is occurring is that i need run each cordova command with sudo. e.g. if i want to run create command than i need to write "sudo cordova create xyz com.xyz.abc" instead of "cordova create xyz com.xyz.abc"
Here is my screen of terminal. Please check it

add a comment |
up vote
0
down vote
favorite
Environment variable ANDROID_HOME is not set while it is set in .bashrc. Please help me to resolve this problem. One more issue is occurring is that i need run each cordova command with sudo. e.g. if i want to run create command than i need to write "sudo cordova create xyz com.xyz.abc" instead of "cordova create xyz com.xyz.abc"
Here is my screen of terminal. Please check it

add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Environment variable ANDROID_HOME is not set while it is set in .bashrc. Please help me to resolve this problem. One more issue is occurring is that i need run each cordova command with sudo. e.g. if i want to run create command than i need to write "sudo cordova create xyz com.xyz.abc" instead of "cordova create xyz com.xyz.abc"
Here is my screen of terminal. Please check it

Environment variable ANDROID_HOME is not set while it is set in .bashrc. Please help me to resolve this problem. One more issue is occurring is that i need run each cordova command with sudo. e.g. if i want to run create command than i need to write "sudo cordova create xyz com.xyz.abc" instead of "cordova create xyz com.xyz.abc"
Here is my screen of terminal. Please check it


asked 26 mins ago


Prabhanshu tiwari
263
263
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53349388%2fenvironment-variable-android-home-is-not-set%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
FR Q2kE seVm7AjtKyXu,YAQwDkZkGbSzJoKQiMV32Kv1b0Ao,Tz W seIEi,eoFXFW,B deuj SjRtfWoXx3