Could not run command ionic run android after opening the project on eclipse


I have ionic project created with the command line.

I create build with ionic run android command

But after opening my project in eclipse for instabug intigration , I am not able to run the command ionic run android, and also corodva run android gives me same error as below.

throw new TypeError(‘Arguments to path.resolve must be strings’);
TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at /dinesh/WorkSpace/OfficeWork/Medfolio/MedGenie_Angular/hooks/after_prepare/icons_and_splashscreens.js:54:19
at arrayEach (/dinesh/WorkSpace/OfficeWork/Medfolio/MedGenie_Angular/node_modules/lodash/index.js:1289:13)
at Function.forEach (/dinesh/WorkSpace/OfficeWork/Medfolio/MedGenie_Angular/node_modules/lodash/index.js:5710:11)
at Object. (/dinesh/WorkSpace/OfficeWork/Medfolio/MedGenie_Angular/hooks/after_prepare/icons_and_splashscreens.js:53:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)


Did you add another platform to your project afterwards?

I’ve found a github-issue that sounds like your problem:


(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)