我用这个方法修改 js 脚本后,pc 会提示错误,然后脚本自动改回原来的样子了,请问您遇到过这种情况吗?
这个问题解决了吗,我 adb uninstall io.appium.settings 后报错
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown package: io.appium.settings
at com.android.server.pm.Settings.isOrphaned(Settings.java:4429)
at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:21974)
at com.android.server.pm.PackageManagerService.deletePackageVersioned(PackageManagerService.java:18991)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:913)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:912)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:134)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22281)
at android.os.Binder.shellCommand(Binder.java:576)
at android.os.Binder.onTransact(Binder.java:476)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2657)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3658)
at android.os.Binder.execTransact(Binder.java:677)
1.6 之后这个参数就不好用了
谢谢我这里时好时坏的,再看看
#91 楼 @huhutouch 你这个问题解决了吗?
#3 楼 @wang04170 我最初目的是要安装 macaca 的 inspector,结果安装过程完全没有报错的情况下,就去起不来 inspector,后台查了一下是缺少 webdriveragent 这个文件,所有手动去 git 上拉取的。刚才我换了一台 iOS10 的手机,再运行 webdriveragent,成功了……但是 inspector 仍旧跑步起来,so……我继续 google 吧……