ADB::ADBError: java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInf

46 views
Skip to first unread message

Eyong Egbe

unread,
Aug 26, 2014, 6:34:41 AM8/26/14
to cucumber-...@googlegroups.com
Hi , I am getting this error when i try to run tests.  Please help.


ADB::ADBError: java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInfo{com.leandog.puppies.brazenhead/com.leandog.brazenhead.BrazenheadInstrumentation} from pid=1336, uid=1336 not allowed because package com.leandog.puppies.brazenhead does not have a signature matching the target com.leandog.puppies
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.app.ActivityManagerProxy.startInstrumentation(ActivityManagerNative.java:3188)
at com.android.commands.am.Am.runInstrument(Am.java:864)
at com.android.commands.am.Am.onRun(Am.java:282)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)

C:/Ruby193/bin/gems/ADB-0.5.6/lib/ADB/instrumentation.rb:22:in `instrument'
C:/Ruby193/bin/gems/brazenhead-0.4.8/lib/brazenhead/server.rb:16:in `start'
C:/Ruby193/bin/gems/gametel-0.8/lib/gametel.rb:39:in `start'
C:/Users/legbe/android_puppies/features/support/env.rb:10:in `Before'
Failed to send the command commands=[{"name":"waitForActivity","arguments":["PuppiesActivity"]}] 20 times...

Errno::ECONNRESET: An existing connection was forcibly closed by the remote host.
./features/step_definitions/android_puppies_steps.rb:2:in `/^I am looking at the available puppies$/'
C:\Users\legbe\android_puppies\features\DisplayingInformation.feature:5:in `When I am looking at the available puppies'

Reply all
Reply to author
Forward
0 new messages