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
Bug description
There are junk files in
/META-INF/nativewithin the APK that appear to be unused on the Android app.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.revanced-manager/app/build.gradle.kts
Lines 247 to 262 in 2a88257
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-shadedAcknowledgements