Can not add android platform to my project , much less give a build


#1

When running the " ionic add android platform " command the error is shown below :

Error: ENOENT, no such file or directory 'D:\TFS Projetos\appdemo\plugins\com.ionic.keyboard\www\keyboard.js’
at Object.fs.openSync (fs.js:438:18)
at Object.fs.readFileSync (fs.js:289:15)
at C:\Users\jackson\AppData\Roaming\npm\node_modules\cordova\node_modules\co
rdova-lib\src\plugman\prepare.js:140:36
at Array.forEach (native)
at C:\Users\jackson\AppData\Roaming\npm\node_modules\cordova\node_modules\co
rdova-lib\src\plugman\prepare.js:120:19
at Array.forEach (native)
at Object.handlePrepare (C:\Users\jackson\AppData\Roaming\npm\node_modules\c
ordova\node_modules\cordova-lib\src\plugman\prepare.js:81:24)
at C:\Users\jackson\AppData\Roaming\npm\node_modules\cordova\node_modules\co
rdova-lib\src\cordova\prepare.js:101:25
at Array.map (native)
at C:\Users\jackson\AppData\Roaming\npm\node_modules\cordova\node_modules\co
rdova-lib\src\cordova\prepare.js:65:40


#2

Try installing the cordova keyboard plugin. I seem to recall this happening to me as well.


#3

you should try it: “ionic platform add android”