Getting Exception occurred while dumping: java.lang.IllegalArgumentException: Unknown package:

MoshexMoshex Member ✭✭

Xamrain UI Test
IDE = VS 2019 for mac

I am getting this error when I run my android UI tests via Terminal command. The error does not seem to cause any direct issues aside from I am not sure why it's occurring. This error displays for every test in a suite that runs on a physical or emulated Android device. I do NOT see this error in the IDE itself but rather it keeps displaying in the Terminal window.
Thank in advance and please ask if more questions about the environment are needed.
Error:
Exception occurred while dumping:
java.lang.IllegalArgumentException: Unknown package: {project name}
at com.android.server.pm.Settings.isOrphaned(Settings.java:4134)
at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:18105)
at com.android.server.pm.PackageManagerService.deletePackage(PackageManagerService.java:15522)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:888)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:792)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:118)
at android.os.ShellCommand.exec(ShellCommand.java:94)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18363)
at android.os.Binder.shellCommand(Binder.java:468)
at android.os.Binder.onTransact(Binder.java:367)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3031)
at android.os.Binder.execTransact(Binder.java:565)

Answers

Sign In or Register to comment.