简体   繁体   English

Ionic 3 cordova遇到设备/仿真器错误[Android]

[英]Ionic 3 cordova running into device/emulator Error [Android]

I have causing an issue on running my ionic v3 cordova project to my physical device with this command. 使用此命令将离子v3 cordova项目运行到我的物理设备时,导致出现问题。

Edit: 编辑:

ionic cordova run android -l

Error Log: 错误日志:

Fatal process OOM in heap setup 堆设置中的致命过程OOM

[ERROR] Exception: [ERROR]异常:

Feel free to ask additional info if you have hint on fixing the problem. 如果您有解决此问题的提示,请随时询问其他信息。 Thanks. 谢谢。

您需要通过在清单文件中设置android:largeHeap="true"来请求更多的堆大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Ionic / Cordova应用程序可在模拟器中播放声音,但不能在Android设备上播放 - Ionic/Cordova app plays sound in emulator but not on Android device 在将ionic安装到Android设备时出现Cordova错误 - Cordova error while installing ionic to an android device Cordova android模拟器没有运行 - Cordova android emulator not running Android / Cordova模拟器:错误:虚拟设备名称包含无效字符 - Android / Cordova emulator: ERROR: virtual device name contains invalid characters 在Android模拟器上运行Cordova错误:“android:命令失败,退出代码为2” - Cordova error running on android emulator: “android: Command failed with exit code 2” 离子:Android模拟器错误 - Ionic:Android Emulator Error Android模拟器错误,带有离子 - Android emulator error, with ionic 科尔多瓦:InAppBrowser在Android模拟器上运行,但在Android设备上不运行 - Cordova: InAppBrowser working on android emulator but not on android device 没有指定目标,也没有找到设备,在运行Cordova时部署到模拟器在Mac上运行Android到Android设备 - No target specified and no devices found, deploying to emulator on running Cordova run android on Mac to an Android device 运行ionic cordova build android --prod --release时发生错误 - An error occurred while running ionic cordova build android --prod --release
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM