简体   繁体   English

永无止境的“创建Android项目”(Cordova,ionic,Phonegap)

[英]“Creating Android project” taking forever (Cordova, ionic, Phonegap)

When I try to run Cordova platform add android Or Ionic platform add android Or the Phonegap counterpart, the message "Creating android project" takes literally forever, ie the command doesn't to anything. 当我尝试运行Cordova platform add androidIonic platform add android或Phonegap对应项时,消息“正在创建android项目”从字面上看永远是永久的,即该命令没有作用。

I'm on Windows 8 x64 and have the Java JDK 1.8 + the Android SDK installed & updated. 我在Windows 8 x64上,安装并更新了Java JDK 1.8 + Android SDK。

I'm totally lost here since I don't get any error message whatsoever and it happens with all three platforms. 我在这里完全迷失了,因为我什么都没有收到任何错误消息,并且这在所有三个平台上都会发生。

The issues was most likely caused by a mixup of two Android SDK installations, one done by hand, one from the new Android Studio Beta. 这些问题很可能是由于两种Android SDK安装的混合使用造成的,其中一种是手工完成的,另一种是新的Android Studio Beta的安装。 After removing one of these & fixing my environment variables, everything worked fine. 删除其中之一并修复我的环境变量后,一切正常。

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

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