Skip to content

how i can give same signature matching #629

Open
@AstinOfficial

Description

@AstinOfficial

[Instrumentation] INSTRUMENTATION_STATUS: Error=Permission Denial: starting instrumentation ComponentInfo{io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner} from pid=22085, uid=2000 not allowed because package io.appium.uiautomator2.server.test does not have a signature matching the target io.appium.uiautomator2.server
[Instrumentation] INSTRUMENTATION_STATUS: id=ActivityManagerService
[Instrumentation] INSTRUMENTATION_STATUS_CODE: -1
[Instrumentation] java.lang.SecurityException: Permission Denial: starting instrumentation ComponentInfo{io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner} from pid=22085, uid=2000 not allowed because package io.appium.uiautomator2.server.test does not have a signature matching the target io.appium.uiautomator2.server
[Instrumentation] at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
[Instrumentation] at android.os.Parcel.createException(Parcel.java:2995)
[Instrumentation] at android.os.Parcel.readException(Parcel.java:2978)
[Instrumentation] at android.os.Parcel.readException(Parcel.java:2920)
[Instrumentation] at android.app.IActivityManager$Stub$Proxy.startInstrumentation(IActivityManager.java:5500)
[Instrumentation] at com.android.commands.am.Instrument.run(Instrument.java:532)
[Instrumentation] at com.android.commands.am.Am.runInstrument(Am.java:208)
[Instrumentation] at com.android.commands.am.Am.onRun(Am.java:85)
[Instrumentation] at com.android.internal.os.BaseCommand.run(BaseCommand.java:62)
[Instrumentation] at com.android.commands.am.Am.main(Am.java:54)
[Instrumentation] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
[Instrumentation] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
[Instrumentation] Caused by: android.os.RemoteException: Remote stack trace:
[Instrumentation] at com.android.server.am.ActivityManagerService.startInstrumentation(ActivityManagerService.java:14641)
[Instrumentation] at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2611)
[Instrumentation] at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2630)
[Instrumentation] at android.os.Binder.execTransactInternal(Binder.java:1280)
[Instrumentation] at android.os.Binder.execTransact(Binder.java:1244)
[Instrumentation] The process has exited with code 1
[AndroidUiautomator2Driver@4006 (d32c973e)] The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions