问题
I am new to using calabash-android to test Android applications.
What does the calabash-android resign name-of-my.apk
do?
Thanks
回答1:
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.
来源:https://stackoverflow.com/questions/27109585/calabash-android-what-does-resign-do