QA/Automation/Projects/FennecAutomation/FAQ

From MozillaWiki
Jump to navigation Jump to search

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