Hey,

I would like to exclude native libraries bundled in a aar library using the 
packaging options, but the exclude is ignored by the packager. For example:

android {
    packagingOptions {
        exclude 'lib/armeabi-v7a/mylib.so'
    }
}

does not exclude mylib.so. When I create mylib.so in the application as 
well, I get the expected "Duplicate File" exception, but the exclude is 
still ignored.

Any advice on a workaround would be much appreciated. 

The usecase for this is basically that we ship a set of native libraries 
for different API versions. The final APK will contain all native 
libraries, but while developing, I would like to exclude all but one native 
library to speed up packaging and deployment. 

Thanks.
-Thasso

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to