[Solved] Error while using ruby cucumber and calabash? [closed]


The error Permission Denial: starting instrumentation Component means that you don’t have the right debug key. If you have the keystore and it was working before then check that the keystore hasn’t been updated. If you don’t have the keystore you can resign the app with your own.

calabash-android resign app.apk

From – https://github.com/calabash/calabash-android/wiki/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 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.

If debug.keystore is missing, it be recreated with the following
command:

keytool -genkey -v -keystore ~/.android/debug.keystore -alias
androiddebugkey -storepass android -keypass android -keyalg RSA
-keysize 2048 -validity 10000 -dname “CN=Android Debug,O=Android,C=US”

3

solved Error while using ruby cucumber and calabash? [closed]