Create PhoneGap 3.0.0 project error - 'platform add android' i not a node

走远了吗. 提交于 2020-01-09 19:06:08

问题


I am trying to get setup with phonegap 3.0.0. I am totally new to phone app development....just fyi.

Per instructions on phonegap's site (here), I am attempting the "platform add android" commmand from within my newly created project ("phonegaptest") and getting the following errror:

Found one other instance of this on the web and it was a path issue, I don't think mine is as I can type 'android' at the command prompt and it shows a list of valid commands.


回答1:


Instead of attempting the platform add adroid command as posted on phonegap's website, skip that line and go onto the next line and do: phonegap build android. Then it will work.



来源:https://stackoverflow.com/questions/17930362/create-phonegap-3-0-0-project-error-platform-add-android-i-not-a-node

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!