droidbot -a .\apk\org.totschnig.myexpenses_759.apk -o output_dir
-task "create a record" -keep_env -keep_app
Output
Traceback (most recent call last):
File "d:\project\autodroid\droidbot\droidbot.py", line 98, in __init__
self.app = App(app_path, output_dir=self.output_dir)
File "d:\project\autodroid\droidbot\app.py", line 29, in __init__
from androguard.core.apk import APK
ModuleNotFoundError: No module named 'androguard.core.apk'
[CONNECTION] ADB is disconnected
error: closed
Traceback (most recent call last):
File "d:\project\autodroid\droidbot\droidbot.py", line 98, in __init__
self.app = App(app_path, output_dir=self.output_dir)
File "d:\project\autodroid\droidbot\app.py", line 29, in __init__
from androguard.core.apk import APK
ModuleNotFoundError: No module named 'androguard.core.apk'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "\\?\C:\Users\IcyFeather\AppData\Local\anaconda3\envs\droidbot\Scripts\droidbot-script.py", line 33, in <module>
sys.exit(load_entry_point('droidbot', 'console_scripts', 'droidbot')())
File "d:\project\autodroid\start.py", line 66, in main
droidbot = DroidBot(
File "d:\project\autodroid\droidbot\droidbot.py", line 119, in __init__
self.stop()
File "d:\project\autodroid\droidbot\droidbot.py", line 189, in stop
self.device.disconnect()
File "d:\project\autodroid\droidbot\device.py", line 176, in disconnect
adapter.disconnect()
File "d:\project\autodroid\droidbot\adapter\droidbot_ime.py", line 76, in disconnect
r_disable = self.device.adb.shell("ime disable %s" % IME_SERVICE)
File "d:\project\autodroid\droidbot\adapter\adb.py", line 89, in shell
return self.run_cmd(shell_extra_args)
File "d:\project\autodroid\droidbot\adapter\adb.py", line 68, in run_cmd
r = subprocess.check_output(args).strip()
File "C:\Users\IcyFeather\AppData\Local\anaconda3\envs\droidbot\lib\subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\IcyFeather\AppData\Local\anaconda3\envs\droidbot\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['adb', '-s', '127.0.0.1:5555', 'shell', 'ime', 'disable', 'io.github.ylimit.droidbotapp/.DroidBotIME']' returned non-zero exit status 1.
Env
pip list:
python version: 3.8
OS: Windows 10
Command
Output