-
Notifications
You must be signed in to change notification settings - Fork 617
Running Calabash Android
The apk calabash android runs must be signed with the same keystore as the test-server.
Use the command: calabash-android resign <apk>
to resign your application.
Building the test-server using calabash-android build <apk>
will build the test-server and sign it with the same key as the application you are testing.
If debug.keystore
is missing, it be recreated with the following command:
keytool -genkey -alias androiddebugkey
-keystore ~/.android/debug.keystore
-storetype PKCS12
-keyalg RSA
-storepass android
-keysize 2048
-dname "CN=Android Debug,O=Android,C=US"
Alternatively, you can use calabash-android setup
to tell calabash where to find the keystore that was used to sign your application. This means your app does not need re-signing, and API keys that rely on the fingerprint of the signing keystore will continue to work under calabash.