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

Error parsing XML: mismatched tag #105

Open
richard1994x opened this issue May 7, 2022 · 1 comment
Open

Error parsing XML: mismatched tag #105

richard1994x opened this issue May 7, 2022 · 1 comment

Comments

@richard1994x
Copy link

APP: https://apkcombo.com/pt/localiza-rent-a-car/com.localiza.mobile/download/apk
Node.js v16.15.0
java 18.0.1.1 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

PS C:\> apk-mitm example.apk

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

  Using temporary directory:
  C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36

  √ 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.6.1
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36\decode\res\values\strings.xml:963: error: Error parsing XML: mismatched tag
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\richa\AppData\Local\Temp\brut_util_Jar_102066650936593243599219987492791309879.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 31, --version-code, 263, --version-name, 6.16.0, --no-version-vectors, -F, C:\Users\richa\AppData\Local\Temp\APKTOOL9015203978924884117.tmp, -e, C:\Users\richa\AppData\Local\Temp\APKTOOL3935437071250749669.tmp, -0, arsc, -I, C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36\framework\1.apk, -S, C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36\decode\res, -M, C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36\decode\AndroidManifest.xml]

  The full logs of all commands are available here:
  C:\Users\richa\AppData\Local\Temp\apk-mitm-cc184a1bf51b272f340ebec7dd53ca36\logs
@Anonymous2716
Copy link

Anonymous2716 commented May 9, 2022

This is an apktool specific error . and aapt related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants