AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

Exclude AndroidPdfViewer MIPs architecture .so files

Open sillysachin opened this issue 8 years ago • 2 comments

The libs added by AndroidPdfViewer include even MIPs architecture .so files. These can be excluded to reduce the library dependency size.

sillysachin avatar Aug 03 '18 12:08 sillysachin

how these are to be excluded?

sairajkishore avatar Aug 03 '18 19:08 sairajkishore

To remove MIPS libraries in your APK you can add the ndk section with abiFilters to your build.gradle

    defaultConfig {
        ndk {
            abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
        }
    }

amartinz avatar Oct 24 '18 12:10 amartinz