失败:生成失败,但在ionic 4中出现异常 [英] FAILURE: Build failed with an exception in ionic 4
本文介绍了失败:生成失败,但在ionic 4中出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个名为phone
(ionic v-4)的应用程序.我已尝试通过遵循
I have created an app called phone
(ionic v-4). I have tried to implement Phone authentication
i,e OTP verification
using firebase by following this article in the medium.
现在,我尝试使用以下命令在 android 设备中部署我的应用(手机).
Now i tried to deploy my app(phone) in my android device, using below command.
ionic cordova run android
我收到此错误:
但是该应用程序可以在浏览器中正常运行.
But the app runs fine in the browser.
我无法察觉错误.
推荐答案
请尝试删除并再次添加 Android 平台
Do try to remove and add again the Android platform
ionic cordova platform rm android
ionic cordova platform add android
这篇关于失败:生成失败,但在ionic 4中出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文