QA/Automation/Projects/FennecAutomation/FAQ: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "== How to build Fennec Native to be used for Robotium? == * Follow https://wiki.mozilla.org/Fennec/NativeUI#How_To_Build How to build Fennec * Unzip the APK * Delete the META...")
 
Line 1: Line 1:
== How to build Fennec Native to be used for Robotium? ==
== How to build Fennec Native to be used for Robotium? ==
* Follow [[https://wiki.mozilla.org/Fennec/NativeUI#How_To_Build How to build Fennec]]
* Follow [https://wiki.mozilla.org/Fennec/NativeUI#How_To_Build How to build Fennec]
* Unzip the APK
* Unzip the APK
* Delete the META directory
* Delete the META directory

Revision as of 22:54, 25 October 2011

How to build Fennec Native to be used for Robotium?

  • Follow How to build Fennec
  • Unzip the APK
  • Delete the META directory
  • Zip the folder back up
  • Resign the APK with
 jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android fennec-details.apk androiddebugkey
  • Do a zipalign on the fennec
 ./android-sdk-linux_x86/tools/zipalign 4 fennec-10.0a1.en-US.android-arm.apk newfennec.apk
  • Install the new apk to the device
 ./android-sdk-linux_x86/platform-tools/adb -s <device id> -e install -r newfennec.apk