Error: ANDROID_HOME is not set and “android” command not in your PATH. You must fulfill at least one of these conditions.

前端 未结 22 998
闹比i
闹比i 2020-11-22 16:16

I\'m trying to install PhoneGap and I\'m getting the following error:

Error: ANDROID_HOME is not set and "android" command not in your PATH. Yo

22条回答
  •  无人及你
    2020-11-22 16:46

    I also faced this same issue, I got a solution with this.

    I did the following steps :

    1. Open system properties
    2. Environment variables
    3. create a new system variable
    4. name: ANDROID_HOME
    5. value: copy your SDK path( Ex: my SDK path E:\SoftWares\Android-SDK)

    close your current cmd, and restart it run flutter doctor

    this should work on windows

提交回复
热议问题