Code Monkey home page Code Monkey logo

Comments (2)

bes-internal avatar bes-internal commented on June 12, 2024

need to update apktool

apk-mitm --apktool ./apktool29.jar base.apk

from apk-mitm.

madhur avatar madhur commented on June 12, 2024

Still failing with below error

 apk-mitm --apktool /home/madhur/Downloads/apktool_2.9.0.jar 194.apk                                                                                                                                                                                  [☸ kubernetes-admin@kubernetes (cattle-system)]

  ╭ apk-mitm v1.2.1
  ├ apktool custom version
  ╰ uber-apk-signer v1.2.1
  
  Using temporary directory:
  /tmp/apk-mitm-a0d1da8f398bad9b2a9b2fff1bdd372d

  ✔ Checking prerequisities
  ✔ Decoding APK file
  ✔ Applying patches
  ❯ Encoding patched APK file
    ↓ Encoding using AAPT2 [skipped]
      → Failed, falling back to AAPT...
    ✖ Encoding using AAPT [fallback]
      → I: Building resources...
    Signing patched APK file

   Failed!  An error occurred:

I: Using Apktool 2.9.0
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: <tmp_dir>/decode/AndroidManifest.xml:417: error: '@2114125825' is incompatible with attribute theme (attr) reference.
W: <tmp_dir>/decode/AndroidManifest.xml:428: error: '@2114191360' is incompatible with attribute resource (attr) reference.
W: error: failed processing manifest.
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_154113526135116043891471479309820994250.tmp, link, -o, /tmp/APKTOOL11258510793209454534.tmp, --package-id, 127, --min-sdk-version, 21, --target-sdk-version, 32, --version-code, 194, --version-name, 11100.51, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, --no-compile-sdk-metadata, -e, /tmp/APKTOOL8896499163010198044.tmp, -0, arsc, -I, <tmp_dir>/framework/1.apk, --manifest, <tmp_dir>/decode/AndroidManifest.xml, <tmp_dir>/decode/build/resources.zip]

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

from apk-mitm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.