Search code examples
calabashcalabash-android

calabash-android - What does resign do?


I am new to using calabash-android to test Android applications.

What does the calabash-android resign name-of-my.apk do?

Thanks


Solution

  • The resign is used if you need to sign the app to match your keystore. Copied from GitHub docs https://github.com/calabash/calabash-android/wiki/Running-Calabash-Android

    Instead of resigning you could also consider copying your debug keystore to your folder.

    The apk calabash android runs must be signed with the same keystore as the test-server.

    Use the command: calabash-android resign to resign your application.

    Building the test-server using calabash-android build will build the test-server and sign it with the same key as the application you are testing.