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

how to move the useless classes to a new dex using dexlib2? #881

Open
xudabeauty opened this issue Oct 27, 2023 · 1 comment
Open

how to move the useless classes to a new dex using dexlib2? #881

xudabeauty opened this issue Oct 27, 2023 · 1 comment

Comments

@xudabeauty
Copy link

i have a apk ,one of dex‘s function number is 65536 ,i want to move useless classes to a new dex,how to to using dexlib2? and i do not want to rebuild using multiDex.

@auermich93
Copy link

If you have a dex file with more than 65k methods, you need to move them to a new dex file or drop them. What do you mean by 'useless'? I would suggest for this purpose https://github.com/DexPatcher/multidexlib2, it can handle multidex out-of-the-box.

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