appium -Не удается найти пакет: io.appium.settings - PullRequest
0 голосов
/ 20 июня 2020
working on stracture for automation on mobile
After installing appium +dependencies, i'm getting this error when run the command:
adb shell dumpsys package io.appium.settings

output:
* daemon not running; starting now at tcp:5037
* daemon started successfully
Package Changes:
  Sequence number=16
  User 0:
    seq=8, package=com.google.android.apps.meetings
    seq=10, package=com.popcore.makesandwich
    seq=11, package=com.google.android.googlequicksearchbox
    seq=12, package=com.zhiliaoapp.musically
    seq=13, package=com.google.android.youtube
    seq=15, package=com.google.android.gms


Dexopt state:
  Unable to find package: io.appium.settings


Compiler stats:
  Unable to find package: io.appium.settings

Поиск в inte rnet таких решений, как удаление пакета и следующий запуск appium, он будет автоматически c install, но при его запуске .. adb uninstall io.appium.settings

вывод: исключение произошло при выполнении: java .lang.IllegalArgumentException: Неизвестный пакет: io.appium.settings на com. android .server.pm.Settings.isOrphaned (Settings. java: 4306) на com. android .server.pm.PackageManagerService.isOrphaned (PackageManagerService. java: 21644) в com. android .server.pm.PackageManagerService.deletePackageVersioned (PackageManagerService. java: 184014 *. Com. Com. server.pm.PackageInstallerService.uninstall (PackageInstallerService. java: 737) в com. android .server.pm.PackageManagerShellCommand.runUninstall (PackageManagerShellCommand. java: 1486) в com. android .server.pm PackageManagerShellCommand.onCommand (PackageManagerShellCommand. java: 193) в android .os.ShellCommand.exe c (ShellCommand. java: 103) в com. android .server.pm.PackageManagerService.onShellCommand ( PackageManagerService. java: 21901) в android .os.Binder.shellCommand (Binder. java: 634) в android .os.Binder.onTransact (Binder. java: 532) в android .content.pm.IPackageManager $ Stub.onTransact (IPackageManager. java: 2809) в com. android .server.pm.PackageManagerService.onTransact (PackageManagerService. java: 4019) в android .os.Binder .execTransact (Binder. java: 733)

...