QA/Automation/Projects/FennecAutomation/FAQ: Difference between revisions
< QA | Automation | Projects | FennecAutomation
Jump to navigation
Jump to search
(→How to build Fennec Native to be used for Robotium?: Added alternative way to remove certificate.) |
|||
| 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 | |||
* Delete the META directory | * EITHER: | ||
* Zip the folder back up | * 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 | * Resign the APK with | ||
jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android fennec-details.apk androiddebugkey | jarsigner -keystore ~/.android/debug.keystore -storepass android -keypass android fennec-details.apk androiddebugkey | ||
Revision as of 23:13, 2 November 2011
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