Not showing updated version even after updating to v2.5.0[BUG]
See original GitHub issueInformation
- Apktool Version (
apktool -version
) -2.5.0 - Operating System (Mac, Linux, Windows) -Linux
- APK From? (Playstore, ROM, Other) -Other
Stacktrace/Logcat
Include stacktrace here
Steps to Reproduce
apktool
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks
that live in /system/framework
or /system/priv-app
)
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission
- Have you tried
apktool d
,apktool b
without changing anything? yes - If you are trying to install a modified apk, did you resign it? no
- Are you using the latest apktool version? no, i installed apktool with cli and it installed v4.2.1 automatically, then i tried to upgrade it to v2.5.0 but even after following all steps as per instructions here it’s still showing the version previously installed version!
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Release: AWS IoT Greengrass Core v2.5.0 software update ...
This release provides version 2.5.0 of the Greengrass nucleus component, new AWS-provided components, and updates to AWS-provided components ...
Read more >Solved: V2.5.0 Bug - Adding local files to playlist in app
When you attempt to add a local file to a playlist in app, a push notification comes up and says "Could Not Load...
Read more >How can I update NodeJS and NPM to their latest versions?
This command will update all the packages listed to the latest version (specified by the ... As you may already know, npm is...
Read more >I updated WordPress to the latest version but it says 4..8.2
If you are not seeing the latest version, that means core files are not updated properly. In this case, I will suggest to...
Read more >How to force an update? - Package Management
I tried to specify the version manually using @0.9.14 and up --major , but it still says “No Changes”. Apparently, some package I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I stumbled upon the same error this issue helped me.
What does this error mean? The dex format indexes methods using 16 bit unsigned integers, this means you can call methods in the range from 0-65535). Your changes must have broken this limit.
How can I fix it? The solution is simple. Just move the offending file to another smali_classes dir. Example:
smali_classes3/com/acme/android/app/MainApplication.smali
is causing the issue. Simply move it to another (highest?) number, so for example tosmali_classes10/com/acme/android/app/MainApplication.smali
.If this still does not work you either broke the limit again (this time in
smali_classes10
) or you choose the wrong file.Yo, i got the solution… Refer this comment to all those who’re facing the same problem i.e., getting errors while rebuilding the apk with apktool… So let’s gets started asap…
Go to this comment and see how to upgrade to latest version of apktool.
Now install these packages using CLI(maybe terminal in your words xD):
apt install kali-tools-reverse-engineering kali-tools-forensics -y
(I found these packages here)Now follow this guide and you’re good to go 😃
Have fun 😃
Here is my result: