当我运行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/