Skip to content

bug: Junk file in APK #3538

Description

@kitadai31

Bug description

There are junk files in /META-INF/native within the APK that appear to be unused on the Android app.

libio_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib
libio_grpc_netty_shaded_netty_tcnative_osx_aarch_64.jnilib
io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll

Once you have confirmed that it is safe to delete, you can add it to the exclusion list in build.gradle.kts, just like other junk files.

packaging {
resources {
// Useless files
excludes += "/XPP3_*_VERSION"
excludes += "/font-awesome-license.txt"
excludes += "/smali.properties"
excludes += "/baksmali.properties"
excludes += "/properties/apktool.properties"
excludes += "/org/antlr/**"
excludes += "/org/mockito/**"
excludes += "/org/bouncycastle/pqc/**.properties"
excludes += "/org/bouncycastle/x509/**.properties"
excludes += "/META-INF/INDEX.LIST"
excludes += "/META-INF/**/*.txt"
excludes += "/META-INF/**/*.properties"
excludes += "/META-INF/DEPENDENCIES"

3.0 MB reduction.

For reference, these junk files are added by a dependency of revanced-library.
revanced-library -> dev.sigstore:sigstore-java -> io.grpc:grpc-netty-shaded

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager.

Activity

  1. oSumAtrIX commented on Oct 1, 2026

    @oSumAtrIX
    Member

    3MB is not considerable, but since we have a list of files to exclude we can simply add these. Wondering what adds these libs, since we target the android platform, i would expect it to not include stuff for osx, possibly its from a common platform module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions