4

I am trying to convert my angular app to andriod app using cordova

when issuing the command:

cordova build android

it gives the below error:

Unable to load PlatformApi from platform. Error: Cannot find module 'properties-parser'
Unhandled error. ('The platform "android" does not appear to be a valid cordova platform. It is missing API.js. android not supported.')

what should I do ?

Sudheesh R
  • 1,767
  • 3
  • 23
  • 43
3mr
  • 312
  • 2
  • 16

1 Answers1

1

Removing and adding platform should work.

cordova platform rm android cordova platform add android

San
  • 427
  • 3
  • 12