Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document dependency on zip and unzip packages #57

Closed
vinicentus opened this issue Jun 5, 2021 · 0 comments
Closed

Document dependency on zip and unzip packages #57

vinicentus opened this issue Jun 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@vinicentus
Copy link

This tool depends on the zip and unzip packages, this should probably be documented as a dependency. If they are not installed, you get the errors listed below:

apk-mitm 'com.example.myapp.xapk'

  ╭ apk-mitm v1.0.1
  ├ apktool v2.5.0
  ╰ uber-apk-signer v1.2.1

  Using temporary directory:
  /tmp/apk-mitm-64e8212ccad0cf23b23c46268c2b2ca1

  ✖ Extracting APKs
    → spawn unzip ENOENT
    Finding base APK path
    Patching base APK
    Signing APKs
    Compressing APKs

   Failed!  An error occurred:

Error: spawn unzip ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:480:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

  The full logs of all commands are available here:
  /tmp/apk-mitm-64e8212ccad0cf23b23c46268c2b2ca1/logs

and

apk-mitm ''com.example.myapp.xapk'

  ╭ apk-mitm v1.0.1
  ├ apktool v2.5.0
  ╰ uber-apk-signer v1.2.1

  Using temporary directory:
  ✔ Extracting APKs
  ✔ Finding base APK path
  ✔ Patching base APK
  ✔ Signing APKs
  ✖ Compressing APKs
    → spawn zip ENOENT

   Failed!  An error occurred:

Error: spawn zip ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:480:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

  The full logs of all commands are available here:
  /tmp/apk-mitm-678d763b0d84923e475cd68cb36749ad/logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants