Comments (2)
First of all - Thank you for this amazing tool! It works flawlessly on two apps I already tried.
Thanks! 😄
Would you be able to help here / point me into the right direction (looking into issues in the apk tool library you built this tool on) ?
In case any of these errors are actually the result of a bug, then it would definitely be in Apktool as the only things apk-mitm
is concerned with are files that have to do with certificate pinning in some way. But this might also be the fault of the app developer since there's not much Apktool can do when an APK contains files that are invalid in some way.
Regarding your logs: 99% of the problems you run into with Apktool result in a brut.common.BrutException
, so you can basically ignore that part, it doesn't hold any meaning. Instead, look at the W:
lines before that. You might think they're just warnings, but they often contain the reason a command failed.
From your logs, these are the most relevant lines:
W: ...\decode\res\drawable-nodpi\placeholder.png: error: failed to read PNG signature: file does not start with PNG signature.
W: ...\decode\res\drawable-nodpi\placeholder.png: error: file failed to compile.
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\\AppData\Local\Temp\apk-mitm-e0aca39ecedcc4a02dfbff425e785cac\decode\res\drawable-nodpi\placeholder.png
W: ...\decode\res\values\styles.xml:318: error: Resource entry AppTheme already has bag item colorPrimary.
W: ...\decode\res\values\styles.xml:317: Originally defined here.
W: Cant find 9patch chunk in file: "drawable-xhdpi-v4/com_facebook_tooltip_blue_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to *.png.
...
You can try searching Apktool's issues for these messages, maybe you'll find a way to fix these errors. Note that you can always make manual changes to an APK (preferably with APKLab) get it to re-encode successfully.
from apk-mitm.
Closing this because none of the errors seem to be caused by apk-mitm
itself.
from apk-mitm.
Related Issues (20)
- Patched apps crashing HOT 1
- [com.instagram.barcelona] Failed to encode patched APK file HOT 3
- Error: Unable to access jarfile apktool_2.8.1.jar HOT 2
- integrity test failed
- Issue when I try install HOT 1
- Update Apktool HOT 2
- error: No resource identifier found for attribute 'enableOnBackInvokedCallback' in package 'android' HOT 6
- No resource found that matches the given name 'com.google.firebase.crashlytics'. HOT 2
- Is the using of the tool will lead to the absence of certificate pinning of the mobile app.
- Facing error for Uber app
- Any alternative for IOS app and how to bypass USB detection in android apk HOT 1
- apk-mitm installation?
- Allowing specific certificates --certificate broken - manual workaround
- error: unexpected element <uses-native-library> found in <manifest><application>. HOT 2
- Netflix not working HOT 1
- error in ubuntu and termux but not in windows, why? HOT 1
- ClassNotFoundException HOT 1
- "Error: ENOENT: no such file or directory" when opening AndroidManifest.xml HOT 1
- Doesn't work for Flutter and ReactNative
- could not align: could not execute zipalign HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apk-mitm.