我试图使用apk来调试一个简单的应用程序,
ionic cordova platform add android
和
ionic cordova build android
结果是,我在带有很多文件的平台/ android系统中,却没有apk!
我在cli上遇到的错误说:
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:8236) [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
我已经安装了android studio和java jdk,我还添加了android作为系统变量,尽管我必须说,我是一个菜鸟,所以我只听从指示,可能会犯错。 问题是,现在该怎么办?