ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

PANIC: Missing emulator engine program for 'x86' CPU on Mac #610

Open ionitron-bot[bot] opened 5 years ago

ionitron-bot[bot] commented 5 years ago

Original issue by @wilfredonoyola on 2018-04-08T20:05:33Z

Ionic version: (check one with "x") [ ] 2.x [ X ] 3.x [ ] 4.x

I'm submitting a ... (check one with "x") [ X ] bug report [ ] feature request

Current behavior: When I try ionic cordova run android and then I see this "PANIC: Missing emulator engine program for 'x86' CPU."

Expected behavior: This will launch a real device or virtual device to run the app.

Steps to reproduce:

I have removed entire Android Studio and all files and folder on MacOs and then I have installed the last version of Android Studio and after that I have created a test application on Android Studio to test it and finally The app runs correctly with virtual device. Later I have created an App with Ionic and I have tried to test it, but I get this error "PANIC: Missing emulator engine program for 'x86' CPU."

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-plugin-proxy : 1.5.8
    @ionic/cli-utils        : 1.19.2
    ionic (Ionic CLI)       : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 7.0.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.2 
    Node              : v6.11.3
    npm               : 3.10.10 
    OS                : macOS High Sierra
    Xcode             : Xcode 9.2 Build version 9C40b 

Environment Variables:

    ANDROID_HOME     : /Users/wilfredonoyola/Library/Android/sdk/
    HTTP_PROXY       : not set
    http_proxy       : not set
    HTTPS_PROXY      : not set
    https_proxy      : not set
    IONIC_HTTP_PROXY : not set
    PROXY            : not set
    proxy            : not set

Misc:

    backend : pro
hassandaru commented 5 years ago

not sure where the solution is i have the same issue in ionic 4:

Ionic:

   ionic (Ionic CLI)             : 4.12.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.4.0
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 8.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 8 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/hassansohaildar/Library/Android/sdk)
   ios-sim           : 8.0.1
   NodeJS            : v12.1.0 (/usr/local/Cellar/node/12.1.0/bin/node)
   npm               : 6.9.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001