创建机器人子项目过程中出现的错误,因为没有找到路径人子、没有找到、过程中、路径

2023-09-04 11:12:26 作者:倾城dē微笑

我想要做的的PhoneGap构建Android 和我有这样的消息:

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

[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
   [error] An error occured during creation of android sub-project. Path not found

PhoneGap的是寻找C:\ Documents和Settings \ corbg \ .cordova \ lib目录\机器人\科尔多瓦\ 3.0.0 \ BIN \创建。还有就是目录3.0.0下,什么都没有。我安装科尔多瓦这样的 NPM安装-g科尔多瓦

我有一些问题,当我运行科尔多瓦平台添加的android

I have the some problem when I run cordova platform add android.

难道我失去了一些东西?

Did I missing something?

推荐答案

这是我代理的一个问题。科尔多瓦创建一个 .cordova 目录,并尝试下载的东西在互联网上。下载没有工作。下一次,它检查是否有一个 .cordova 目录。它不尝试重新下载东西,因为该目录中,并显示错误。

It was a problem with my proxy. Cordova create a .cordova directory and try to download something on the internet. The download did not work. Next time, it check if there is a .cordova directory. It don't try to redownload something because the directory exist and it show the error.

我删除了 .cordova 目录,我解决我的问题与代理。现在,万物的工作。

I removed the .cordova directory and I solved my problems with proxy. Now, everythings works.