Eclipse+phonegap android开发环境构建的问题

2014/2/10 02:10 阅读 1,719 views 次 评论 0 条

环境:Win8 x86 + Eclipse4.2.2 + phonegap 2.9.1

1. The connection to adb is down, and a severe error has occured.


Run -> Run Configurations... -> Android application -> project Name -> 右侧:target

选中你的AVD 并Apply应用。

2. PANIC: Could not open “xxx”


解决方案:Find the .android folder on your cpu. You can find it by going to Window -> Preferences -> Android -> Build, and see the "Default debug keystore:" path location.

找到你的“.android”文件夹位置,你可以通过以下步骤找到:“Window -> Preferences -> Android -> Build”,查看“Default debug keystore:”的路径

After you find it, move the .android folder to your user root directory - which may be "C:\Users\moumoumou\" in your case.

然后移动“.android”移动到你的用户根目录,如 "C:\Users\moumoumou\"

3. Node.js 设置代理proxy


npm config set proxy=


4. 用node.js安装phonegap时(npm install -g cordova),出错:npm ERR! Error: shasum check failed

npm install

x.x.x用错误信息中的npm版本号替代,然后再npm install -g cordova

转载请注明:Eclipse+phonegap android开发环境构建的问题 | 沙聚塔
分类:Android 标签:, , ,