android - Ionic 3 未处理的PromiseRejection警告: Unhandled promise rejection

标签 android node.js ionic-framework ionic3

当我运行ionic cordova run android --device时部署我的应用程序的命令我收到以下错误

(node:6292) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png

(node:6292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

最佳答案

对于以下错误,

错误:源路径不存在:resources/android/icon/drawable-hdpi-icon.png

如果我没记错的话,你需要检查你的config.xml。

关于android - Ionic 3 未处理的PromiseRejection警告: Unhandled promise rejection,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48840071/

相关文章:

javascript - firebase获取子节点列表

android - 如何在键盘出现时将整个 View 推上去,需要进行哪些布局更改?

node.js - 如何使用 Promise.all 迭代对象键

node.js - 环回上的 Kurento 媒体管道覆盖图像不起作用

html - 滚动到元素的最佳方法

html - 如何更改滚动 ionic 内容的颜色?

android - 返回到哪个 fragment Activity 开始的 Activity ?

android - 从联系人列表启动应用程序

android - PhoneGap 和 WhatsApp

node.js - Nodejs请求模块返回错误的statusCode