ionic2: ionic cordova run android error -
i have android sdk installed in:
/users/macbookpro/library/android/sdk and enter lines in terminal:
export android_home=/users/macbookpro/library/android/sdk export path=$path:$android_home/tools:$android_home/platform-tools source ~/.bash_profile and if enter in terminal before closing terminal
echo $android_home i got correct path, if close terminal , open again enter same line have empty line means path doesn't saved , , if run may ionic project in android have error:
error running 1 or more of platforms: android sdk not found. make sure installed. if not @ default location, set android_home environment variable.
Comments
Post a Comment