question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not showing updated version even after updating to v2.5.0[BUG]

See original GitHub issue

Information

  1. Apktool Version (apktool -version) -2.5.0
  2. Operating System (Mac, Linux, Windows) -Linux
  3. APK From? (Playstore, ROM, Other) -Other

Stacktrace/Logcat

Include stacktrace here

Steps to Reproduce

  1. 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

  1. Have you tried apktool d, apktool b without changing anything? yes
  2. If you are trying to install a modified apk, did you resign it? no
  3. 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! apktool

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
FoseFxcommented, Feb 17, 2021

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 to smali_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.

0reactions
hash30commented, Feb 21, 2021

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…

  1. Go to this comment and see how to upgrade to latest version of apktool.

  2. 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)

  3. Now follow this guide and you’re good to go 😃

Have fun 😃

Here is my result:

apktool

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found