Confirmed users
355
edits
Nalexander (talk | contribs) |
Nalexander (talk | contribs) |
||
| Line 86: | Line 86: | ||
=== Running Fennec === | === Running Fennec === | ||
EDIT: Fennec Native has been moved to mozilla-central. | EDIT: Fennec Native has been moved to mozilla-central. | ||
hg clone http://hg.mozilla.org/mozilla-central/ | hg clone http://hg.mozilla.org/mozilla-central/ | ||
The rest of the directions | |||
The rest of the directions at [[Fennec/NativeUI | Building Native Fennec]] should be correct, specifically [[Fennec/NativeUI#How_To_Build | How To Build]]. | |||
After building Fennec, make the apk. | After building Fennec, make the apk. | ||
make -sj8 -C objdir-droid/ package | make -sj8 -C objdir-droid/ package | ||
The apk will be something like | The apk will be something like <tt>objdir-droid/dist/fennec-12.0a1.en-US.android-arm.apk</tt>. | ||
$SDK/platform-tools/adb install -r | * Android device: | ||
** Ensure USB debugging is enabled on your Android device: fom the home screen, select <tt>Settings > Applications > Development > USB debugging</tt>. | |||
** Ensure your Android device is connected to your computer's USB port. | |||
** Run | |||
$SDK/platform-tools/adb install -r objdir-droid/dist/fennec*apk | |||
* Emulator: | * Emulator: | ||
** Ensure the emulator is running. | |||
** Run | |||
$SDK/platform-tools/adb install -r | $SDK/platform-tools/adb install -r objdir-droid/dist/fennec*apk | ||
You may need to run adb kill-server | {{note|You may need to run <tt>adb kill-server; adb start-server</tt> if adb doesn't recognize the emulator.}} | ||
* Logcat debug statements | * Logcat debug statements | ||
adb logcat | $SDK/platform-tools/adb logcat | ||
=== Setting up Eclipse === | === Setting up Eclipse === | ||