Confirmed users
400
edits
(→Setup) |
|||
| Line 2: | Line 2: | ||
== Setup == | == Setup == | ||
[[ https://wiki.mozilla.org/Mobile/Fennec/Android_OtherBuildEnvs#Mac_OSX | Setting up an Android dev environment ]] | [[ https://wiki.mozilla.org/Mobile/Fennec/Android_OtherBuildEnvs#Mac_OSX | Setting up an Android dev environment ]] | ||
* note: installing *all* the platform tools (all Android from 1 to 3.3) takes a while, if you only need a specific SDK version, just install from the GUI tool: | |||
$SDK/tools/android | |||
< | === Emulators === | ||
* create emulator with $SDK/tools/android, menubar>Tools>Manage AVDs... | |||
* Target (probably) needs to match build specified in .mozconfig (see Building Fennec Native below) | |||
* to launch: | |||
$SDK/tools/emulator -avd <AVD> | |||
(for some reason, this isn't sufficient storage space to install Fennec) | |||
[[ https://wiki.mozilla.org/Fennec/NativeUI | Building Fennec Native ]] | |||
=== Running Fennec === | |||
* Android device: | |||
* Emulator: | |||
$SDK/tools/emulator | |||
(as another process:) | |||
$SDK/platform-tools/adb install -r <AVD-name> | |||
You may need to run adb kill-server, adb start-server if adb doesn't recognize the emulator | |||