I have just updated from phonegap v3.5.0 to phonegap v4.0.0 and since then I have created a new project:
phonegap create jamie
cd jamie
phonegap build android
[phonegap] executing 'cordova platform add android'...
[phonegap] completed 'cordova platform add android'
[phonegap] executing 'cordova build android'...
cp: no such file or directory: C:\var\www\mywarhammer.co.uk\public\app\jamie\icon.png
Running command: C:\var\www\mywarhammer.co.uk\public\app\jamie\platforms\android\cordova\build.bat
Error: ENOENT, no such file or directory 'C:\phonedev\android-studio\sdk\platform-tools\tools\lib\build.template'
etc.....
Error: C:\var\www\mywarhammer.co.uk\public\app\jamie\platforms\android\cordova\build.bat: Command failed with exit code 8
etc.....
What I find weird/worring is that I have ran all the updates and installs with Android SDK Manager and know that build.template is located at: C:\phonedev\android-studio\sdk\tools\lib\build.template
So why is it looking in the wrong location and how can I fix this?
0 comments:
Post a Comment