简体   繁体   English

错误:创建android子项目时发生错误

[英]Error: An error occured during creation of android sub-project

I was try to use the tutorial to create android app. 我试图使用该教程来创建android应用。 But after using the command 但是使用命令后

cordova -d create Hellos com.example.hello "Hellos"

to create project.After that i executed the command 创建项目。之后,我执行了命令

cordova platform add android

to add android platform.but i got error 添加android platform.but我有错误

[Error: An error occured during creation of android sub-project. The system cann
ot find the path specified.]

i tried soln in 我尝试过

An error occurred during creation of android sub-project because a path is not found 由于找不到路径,因此在创建android子项目期间发生错误

Error creating android subproject when using phonegap run android command 使用phonegap运行android命令时创建android子项目时出错

but after using those solns also i couldn't get rid of error. 但是在使用这些解决方案之后,我也无法摆脱错误。 Please help me. 请帮我。

Thanks in advance. 提前致谢。

首先,请确保android-toolsplatform-tools在您的路径环境中,然后从主目录中删除.cordova并再次重复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM