简体   繁体   English

platform-tools \\ adb.exe:Comman d失败,退出代码为3221226356

[英]platform-tools\adb.exe: Comman d failed with exit code 3221226356

When I run (Ionic run android )ionic project, it build success but there was an issue in deploying to device. 当我运行(Ionic run android)离子项目时,它构建成功,但在部署到设备时出现问题。

this is the error in my cmd 这是我的cmd中的错误

Follow below steps 按照以下步骤

  1. Create virtual device from android adb manager. 从android adb manager创建虚拟设备。
  2. Open virtual device(emulator). 打开虚拟设备(模拟器)。
  3. Open termainal and check your emulator is connected or not. 打开termainal并检查您的模拟器是否已连接。 $ adb devices . $ adb devices
  4. If your emulator is connected then open terminal and go to your root folder of project. 如果您的模拟器已连接,请打开终端并转到项目的根文件夹。
  5. run followingcommand 运行以下命令

    $ ionic run android $ ionic run android

I hope its work for you 我希望它为你工作

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM