java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInfo{io.selendroid.org.mozilla.firefox/io.selendroid.server.ServerInstrumentation} from pid=17067, uid=17067 not allowed because package io.selendroid.org.mozilla.firefox does not have a signature matching the target org.mozilla.firefox

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

,
Expert tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Solutions on the web

via Google Groups by Romain Trembleau, 1 year ago
Permission Denial: starting instrumentation ComponentInfo{io.selendroid.org.mozilla.firefox/io.selendroid.server.ServerInstrumentation} from pid=17067, uid=17067 not allowed because package io.selendroid.org.mozilla.firefox does not have a signature matching the target org.mozilla.firefox
via Stack Overflow by RekaB
, 2 years ago
Permission Denial: starting instrumentation ComponentInfo{io.selendroid.io.selendroid.testapp/io.selendroid.server.ServerInstrumentation} from pid=26099, uid=26099 not allowed because package io.selendroid.io.selendroid.testapp does not have a signature matching the target io.selendroid.testapp
via GitHub by pinek6
, 2 years ago
Permission Denial: starting instrumentation ComponentInfo{XXXXX/io.selendroid.server.ServerInstr umentation} from pid=4965, uid=4965 not allowed because package XXXXXXX does not have a signature matching the target XXXXX
via Stack Overflow by Luis Cruz
, 7 months ago
Permission Denial: starting instrumentation ComponentInfo{com.tqrg.physalia.testapp.test/android.support.test.runner.AndroidJUnitRunner} from pid=21572, uid=21572 not allowed because package com.tqrg.physalia.testapp.test does not have a signature matching the target com.tqrg.physalia.testapp
via Stack Overflow by Mister Smith
, 1 year ago
Calling uid 10198 gave package <main app package name> which is owned by uid 10199
java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInfo{io.selendroid.org.mozilla.firefox/io.selendroid.server.ServerInstrumentation} from pid=17067, uid=17067 not allowed because package io.selendroid.org.mozilla.firefox does not have a signature matching the target org.mozilla.firefox
at android.os.Parcel.readException(Parcel.java:1425)
at android.os.Parcel.readException(Parcel.java:1379)
at android.app.ActivityManagerProxy.startInstrumentation(ActivityManagerNative.java:2835)
at com.android.commands.am.Am.runInstrument(Am.java:615)
at com.android.commands.am.Am.run(Am.java:118)
at com.android.commands.am.Am.main(Am.java:81)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 14 hours ago
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
250 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.