Android command not found even PATH set

前端 未结 6 1434
南方客
南方客 2021-01-05 01:24

hi i am using ubuntu 12.04. and in ~/.bashrc file I set following things

export ANDROID_HOME=/home/nilkash/Downloads/android-sdk-linux/platform-tools

6条回答
  •  忘掉有多难
    2021-01-05 02:17

    if the problem still exist please make sure that you have the right permissions try sudo chmod -R 777 /home/your-user-name/.cordova/

    Also make sure that you are NOT using sudo to add Android as a platform

    This is incorrect in the default Cordova installation
    sudo cordova platform add android

    Just do cordova platform add android

提交回复
热议问题