Errors at start #45
Unanswered
SnowFlash383935
asked this question in
Q&A
Replies: 1 comment
-
|
FileNotFoundError: [Errno 2] No such file or directory: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(.venv) fleshka@localhost:~$ android-unpinner all com.fleshka.mitm.martinmagni.fancade.apk
╭───────── Traceback (most recent call last) ──────────╮
│ /home/fleshka/android-unpinner/.venv/bin/android-unp │
│ inner:8 in │
│ │
│ 5 from android_unpinner.main import cli │
│ 6 if name == 'main': │
│ 7 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)? │
│ ❱ 8 │ sys.exit(cli()) │
│ 9 │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/rich_click/rich_command.py:404 in │
│ call │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/click/core.py:1442 in call │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/rich_click/rich_command.py:187 in main │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/click/core.py:1830 in invoke │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/click/core.py:1226 in invoke │
│ │
│ /home/fleshka/android-unpinner/.venv/lib/python3.12/ │
│ site-packages/click/core.py:794 in invoke │
│ │
│ /home/fleshka/android-unpinner/android_unpinner/ma │
│ in.py:264 in all_cmd │
│ │
│ 261 │ │
│ 262 │ You may pass multiple files for the same p │
│ 263 │ """ │
│ ❱ 264 │ package_names = {build_tools.package_name( │
│ 265 │ if len(package_names) > 1: │
│ 266 │ │ raise RuntimeError( │
│ 267 │ │ │ "Detected multiple APKs with diffe │
│ ││ /home/fleshka/android-unpinner/android_unpinner/vend │
│ or/build_tools/init.py:54 in package_name ││ │
│ 51 │
│ 52 @cache ││ 53 def package_name(apk_file: Path) -> str: │
│ ❱ 54 │ return subprocess.run([ │
│ 55 │ │ aapt2_binary, ││ 56 │ │ "dump", │
│ 57 │ │ "packagename", ││ │
│ /usr/lib/python3.12/subprocess.py:548 in run │
│ │
│ 545 │ │ kwargs['stdout'] = PIPE ││ 546 │ │ kwargs['stderr'] = PIPE │
│ 547 │ │
│ ❱ 548 │ with Popen(*popenargs, **kwargs) as proce │
│ 549 │ │ try: │
│ 550 │ │ │ stdout, stderr = process.communic │
│ 551 │ │ except TimeoutExpired as exc: │
│ │
│ /usr/lib/python3.12/subprocess.py:1026 in init │
│ │
│ 1023 │ │ │ │ │ self.stderr = io.TextIOWr ││ 1024 │ │ │ │ │ │ │ encoding=encoding │
│ 1025 │ │ │ │
│ ❱ 1026 │ │ │ self._execute_child(args, executa │
│ 1027 │ │ │ │ │ │ │ │ pass_fds, cwd │
│ 1028 │ │ │ │ │ │ │ │ startupinfo, │
│ 1029 │ │ │ │ │ │ │ │ p2cread, p2cw │
│ ││ /usr/lib/python3.12/subprocess.py:1955 in │
│ _execute_child │
│ │
│ 1952 │ │ │ │ │ if errno_num != 0: │
│ 1953 │ │ │ │ │ │ err_msg = os.strerror │
│ 1954 │ │ │ │ │ if err_filename is not No │
│ ❱ 1955 │ │ │ │ │ │ raise child_exception │
│ 1956 │ │ │ │ │ else: │
│ 1957 │ │ │ │ │ │ raise child_exception │
│ 1958 │ │ │ │ raise child_exception_type(er │
╰──────────────────────────────────────────────────────╯
FileNotFoundError: [Errno 2] No such file or directory: PosixPath('/home/fleshka/android-unpinner/android_unpinn
er/vendor/build_tools/linux/aapt2')
Beta Was this translation helpful? Give feedback.
All reactions