From 88b276970e4c99c57ff6f1d7a8b71cf8890ff542 Mon Sep 17 00:00:00 2001 From: Rich Slogar Date: Mon, 15 Dec 2014 14:05:40 -0800 Subject: docs: studio device emulator updates Change-Id: If11f5c5cd1c3b990980d83980cdb324700289a6f On branch studio-device-emulator-updates modified: docs/html/tools/devices/emulator.jd --- docs/html/tools/devices/emulator.jd | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/html/tools/devices/emulator.jd b/docs/html/tools/devices/emulator.jd index dc9294bf1486..42240b912116 100644 --- a/docs/html/tools/devices/emulator.jd +++ b/docs/html/tools/devices/emulator.jd @@ -294,9 +294,10 @@ with the {@code -gpu on} option enabled: Run > Edit Configurations...
  • In the left panel of the Run/Debug Configurations dialog, select your Android run configuration or create a new configuration.
  • -
  • Under the Device Target options, +
  • Under the Target Device options, select the AVD you created in the previous procedure.
  • -
  • In the Additional Command Line Options field, enter:
    +
  • In the Emulator tab, in the + Additional command line options field, enter:
    {@code -gpu on}
  • Run your Android project using this run configuration.
  • @@ -421,7 +422,7 @@ AVD: Configurations...
  • In the left panel of the Run/Debug Configurations dialog, select your Android run configuration or create a new configuration.
  • -
  • Under the Device Target options, select the x86-based AVD you created +
  • Under the Target Device options, select the x86-based AVD you created previously.
  • Run your Android project using this run configuration.
  • @@ -474,7 +475,7 @@ AVD: Configurations...
  • In the left panel of the Run/Debug Configurations dialog, select your Android run configuration or create a new configuration.
  • -
  • Under the Device Target options, +
  • Under the Target Device options, select the x86-based AVD you created previously.
  • Run your Android project using this run configuration.
  • @@ -513,17 +514,18 @@ AVD and include the KVM options:

    Note: You must provide an x86-based AVD configuration name, otherwise VM acceleration will not be enabled.

    -
  • If you are running the emulator from Android Studio, run your Android application with an x86-based -AVD and include the KVM options: +
  • If you are running the emulator from Android Studio, run your Android application with an + x86-based AVD and include the KVM options:
    1. In Android Studio, click your Android module folder and then select Run > Edit Configurations...
    2. In the left panel of the Run/Debug Configurations dialog, select your Android run configuration or create a new configuration.
    3. -
    4. Under the Device Target options, select the x86-based AVD you created +
    5. Under the Target Device options, select the x86-based AVD you created previously.
    6. -
    7. In the Additional Command Line Options field, enter: -
      -qemu -m 512 -enable-kvm
      +
    8. In the Emulator tab, in the + Additional command line options field, enter: +
      -qemu -m 512 -enable-kvm
    9. Run your Android project using this run configuration.
    -- cgit v1.2.3-59-g8ed1b