Error on adding platform in Ionic Framework on Windows

前端 未结 1 496
悲哀的现实
悲哀的现实 2020-12-15 08:06

I get the following error while adding the Android platform. I had checked my ant -version and it outputted it correctly. Also, I noticed when it created the my

相关标签:
1条回答
  • 2020-12-15 08:42

    I'm using Ubuntu 14.04 and fixed it by setting these paths to the O.S. Path:

    export ANDROID_HOME=/home/coutinho/android-sdk 
    export ANDROID_TOOLS=/home/coutinho/android-sdk/tools/  
    export ANDROID_PLATFORM_TOOLS=/home/coutinho/android-sdk/platform-tools/
    
    PATH=$PATH:$ANDROID_HOME:$ANDROID_TOOLS:$ANDROID_PLATFORM_TOOLS:.
    

    Then it worked fine.

    0 讨论(0)
提交回复
热议问题