QA/Automation/Projects/FennecAutomation/FAQ
From MozillaWiki
< QA | Automation | Projects | FennecAutomation
How to build Fennec Native to be used for Robotium?
- Follow How to build Fennec
- EITHER:
* Unzip the APK * Delete the META directory * Zip the folder back up
- OR, if the above doesn't work:
* Rename the apk fennec.zip * Remove the META directory with zip -d fennec.zip META-INF\* * Rename fennec.zip fennec.apk
- 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