簡體   English   中英

收到錯誤“無法從平台加載 PlatformApi; 嘗試使用cordova轉換角度應用程序時

[英]Getting an error 'Unable to load PlatformApi from platform; when trying to convert an angular app using cordova

我正在嘗試使用cordova將我的angular應用程序轉換為andriod應用程序

發出命令時

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.')

我該怎么辦 ?

刪除和添加平台應該可以工作。

cordova 平台 rm android 科爾多瓦平台添加 android

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM