tingsu / Stoat

Stoat (STochastic model App Tester) - an automatic testing tool for android apps
https://tingsu.github.io/files/fse17-stoat.pdf
143 stars 37 forks source link

get current package name: udefined method #23

Open wangd66 opened 2 years ago

wangd66 commented 2 years ago
Screen Shot 2022-11-18 at 6 55 27 AM

您好, 我遇到了两个问题。 第一个是rm: no such file or directory, 但是我手动运行dump, pull 和 rm 这几个指令的时候是没有报错的。

第二个问题导致了程序中断, 报错信息是:./bin/rec.rb:233:in get_current_package_name': undefined method[]' for nil:NilClass (NoMethodError)

您知道是什么原因导致的吗?我应该如何解决

谢谢

PAULouis863 commented 1 month ago

I am in the same situation!!! Did you install the "com.wparam.nullkeyboard_1.apk" and banned the keyboard in emulator or real devices?