1. xcopy is not recognized as an internal or external command, operable program or batch file
原因: 没有添加环境变量
解决方案:在环境变量PATH中加
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
2.npm安装phonegap总是失败
原因: 未知
解决方案:npm install -g cnpm --registry=http://registry.npm.taobao.org安装cnpm, cnpm install -g phonegap
3.打包cordova-2.9.1..jar的时候总是出问题,未发现原因,附上下载地址:
http://download.csdn.net/detail/workceo/7279415
4.项目报错
1>重复的id @+id/image问题
解决方案: 将其中一个改成image1就可以了
2>is not translated in "mk-rMK"多语言翻译问题
解决方案:window->preferences->Android->Lint Error Checking
将missing translation 设置为warning
3>The class should be public
解决方案: window->preferences->Android->Lint Error Checking
将instantiatable 设置为warning
项目报错参考: http://www.mamicode.com/info-detail-1067627.html