Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Android app won't run in emulator on OSX #712

Closed

Description

@jfirebaugh

Running via Run ⇢ Run 'app' in Android Studio. Output from the 'app' tab:

Waiting for device.
/usr/local/android-sdk-macosx/tools/emulator -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
Device connected: emulator-5554
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device is ready: Nexus_5_API_21_x86 [emulator-5554]
Target device: Nexus_5_API_21_x86 [emulator-5554]
Uploading file
    local path: /Users/john/Development/mapbox-gl-native/android/java/app/build/outputs/apk/app-debug.apk
    remote path: /data/local/tmp/com.mapbox.mapboxgl.app
Installing com.mapbox.mapboxgl.app
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.mapbox.mapboxgl.app"
pkg: /data/local/tmp/com.mapbox.mapboxgl.app
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

Emulator shows the lock screen, no sign of an app in the home screen.

cc @ljbade

Activity

  1. jfirebaugh commented on Dec 10, 2014

    @jfirebaugh
    ContributorAuthor

    To get past this here's what I did:

    1. Open "Android SDK Manager" via Android Studio ⇢ Tools ⇢ Android ⇢ SDK Manager.
    2. For some reason it opens with a bunch of stuff preselected. Click "Deselect All".
    3. Select "ARM EABI v7a System Image" under "Android 5.0 (API 21)". Click "Install packages...", accept the license agreement, etc.
    4. Back to Android Studio ⇢ Tools ⇢ Android ⇢ AVD Manager.
    5. Edit the existing device (tiny pencil icon).
    6. Click the "Change..." button here:
      image
    7. Select the "armeabi-v7a" image, click "Next", click "Finished".
    8. Run ⇢ Run 'app'
  2. added
    Android
    on Dec 10, 2014
  3. mikemorris commented on Dec 11, 2014

    @mikemorris
    Contributor

    I'm seeing this screen after booting up Android Studio, I found SDK Manager under Configure, but not seeing AVD Manager anywhere.

    screen shot 2014-12-11 at 12 56 17 pm

  4. mikemorris commented on Dec 11, 2014

    @mikemorris
    Contributor

    Found it after selecting "Import Non-Android Studio Project" and selecting mapbox-gl-native/android/java/build.gradle in the following dialog.

  5. mikemorris commented on Dec 11, 2014

    @mikemorris
    Contributor

    @jfirebaugh Which armeabi-v7a image? I'm seeing an Android Open Source Project one and a Google Inc one.

    screen shot 2014-12-11 at 1 13 13 pm

  6. jfirebaugh commented on Dec 11, 2014

    @jfirebaugh
    ContributorAuthor

    I have "5.0 Android Open Source Project".

  7. murtuzakhalid commented on May 1, 2015

    @murtuzakhalid

    my android's studio emulator is not working....because I have core i5 first generation don't have visualization technology...thats why Intel hexm is not installing...tell me alternate way to run my android code please....!

    this is the problem is listed below....!
    Cannot launch AVD in emulator.
    Output:
    emulator: ERROR: x86 emulation currently requires hardware acceleration!
    Please ensure Intel HAXM is properly installed and usable.
    CPU acceleration status: HAX kernel module is not installed!

  8. Ben-Franklin-k commented on Apr 14, 2020

    @Ben-Franklin-k

    No emulators found as an output of emulator -list-avds.
    Screenshot 2020-04-14 at 11 05 15 AM
    My emulator is still opened on the side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions