Skip to content

How can I exclude arm64-v8a #458

Closed
Closed
@goodboywt

Description

@goodboywt

I found the arm64-v8a dir in 0.5.3,but another lib dependent by my app has not the arm64-v8a,so my app will crash on arm64 platform,as you know ,the other lib hasn't "so" file math arm64-v8a so that my app can't find the "so" file on arm64 platform.

How can I exclude arm64-v8a dir in build.gradle

Activity

lizhiqiang-unnoo

lizhiqiang-unnoo commented on Jul 15, 2015

@lizhiqiang-unnoo
goodboywt

goodboywt commented on Jul 15, 2015

@goodboywt
Author

@lizhiqiang-unnoo this doesn't help,I just want to exclude the arm64-v8a,but this create each platform an apk file

appdev

appdev commented on Jul 15, 2015

@appdev

@goodboywt you can use include 'arm64-v8a' . will just create arm_64 apk

goodboywt

goodboywt commented on Jul 15, 2015

@goodboywt
Author

@huclengyue I don't want the arm64 dir

michalgr

michalgr commented on Jul 15, 2015

@michalgr
Contributor

Try playing with abiFilters. You might find this link useful: http://tools.android.com/tech-docs/new-build-system/tips. abiFilter should allow you to select single architecture to include in your app, abiFilters should let you do the same with multiple archs.

liuchonghui

liuchonghui commented on Feb 4, 2016

@liuchonghui

try

packagingOptions {
exclude 'lib/arm64-v8a/libbitmaps.so'
exclude 'lib/arm64-v8a/libgifimage.so'
exclude 'lib/arm64-v8a/libimagepipeline.so'
exclude 'lib/arm64-v8a/libmemchunk.so'
exclude 'lib/arm64-v8a/libwebp.so'
exclude 'lib/arm64-v8a/libwebpimage.so'
exclude 'lib/x86_64/libbitmaps.so'
exclude 'lib/x86_64/libgifimage.so'
exclude 'lib/x86_64/libimagepipeline.so'
exclude 'lib/x86_64/libmemchunk.so'
exclude 'lib/x86_64/libwebp.so'
exclude 'lib/x86_64/libwebpimage.so'
}

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @michalgr@goodboywt@liuchonghui@lizhiqiang-unnoo@appdev

        Issue actions

          How can I exclude arm64-v8a · Issue #458 · facebook/fresco