Mobile/Fennec/Android/Emulator

< Mobile‎ | Fennec‎ | Android
Revision as of 15:07, 12 November 2011 by Decoder (talk | contribs) (Created page with "== Running Fennec in Android Emulator == === Prerequisites === As Fennec requires an ARMv7 architecture, we need an AVD (Android Virtual Device) that has the ''armeabi-v7'' CPU...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Running Fennec in Android Emulator

Prerequisites

As Fennec requires an ARMv7 architecture, we need an AVD (Android Virtual Device) that has the armeabi-v7 CPU ABI. Such a device definition and images are only included in the newest SDK (at least revision 15). To ensure you have all the required software, first install an Android SDK if you don't have one yet, then open your android SDK manager (tools/android) and perform the following steps:

  • Check if any updates to your SDK are available and install them
  • In your packages list, you should then have an entry "Android 4.0 (API 14)". Check this category and install all packages.

Creating the AVD

Open the Android Virtual Device Manager (in the SDK Manager under tools), create a new entry and make sure you use "Android 4.0 (API Level 14)" as target. You can attach a virtual SD card as well and change display settings if you like. In the hardware list further down you can add or remove hardware support, e.g. you can simulate not having a hardware keyboard by adding "Keyboard support" to the list and changing that entry to "No" then.

Starting the AVD

Select the AVD from the list and hit "Start". Booting up takes a while, and the device is very slow (especially with larger resolutions).