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

前端 未结 22 986
闹比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:23

    for windows:

    Right click on My computer -> properties -> Advanced system setting -> Environment Variables Edit Path on system variables to ;\yourSdkHome\tools;\yourSdkHome\platform-tools.

    Then Close your cmd prompt and reopen.

    Thats it.

提交回复
热议问题