An error occurred during creation of android sub-project because a path is not found

前端 未结 8 1768
旧巷少年郎
旧巷少年郎 2021-01-12 02:31

I\'m trying to do phonegap build android and I have this message :

[phonegap] detecting Android SDK environment...
[phonegap] using the local en         


        
8条回答
  •  囚心锁ツ
    2021-01-12 03:05

    Did you set your PATH variable? Sometimes this error occurs in Windows when the PATH variable is not set correctly to access "java" and "ant" exes. If you want to test if they are correctly set, you can simply execute both (from any folder in your command line):

    > java
    

    or

    > ant
    

    and both programs should be found.

提交回复
热议问题