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,764
  • 2
  • 20
  • 41
3mr
  • 302
  • 2
  • 14

1 Answers1

1

Removing and adding platform should work.

cordova platform rm android cordova platform add android

San
  • 417
  • 3
  • 12