【发布时间】:2019-11-23 03:45:08
【问题描述】:
我正在尝试使用 cordova 将我的 Angular 应用程序转换为 Android 应用程序
发出命令时:
cordova build android
它给出了以下错误:
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.')
我该怎么办?
【问题讨论】:
-
你试过了吗 - stackoverflow.com/questions/44042641/… ??
-
进行了一次 npm 更新并且成功了。
-
删除和添加平台再次对我有用。科尔多瓦平台rm android科尔多瓦平台添加android