Were you able to get around this issue? Is there a fix or a workaround?

thanks!

On Wednesday, November 12, 2014 at 4:23:54 AM UTC-8, Kloon wrote:
>
> Is there an ETA for this?
>
> 2014. november 11., kedd 18:44:31 UTC+1 időpontban Xavier Ducrohet a 
> következőt írta:
>>
>> It's more a limitation than a regression because it never applied to 
>> packaged libraries.
>>
>> On Tue, Nov 11, 2014 at 5:18 AM, Kloon <[email protected]> wrote:
>>
>>> I have multiple native libraries included in my project which mutually 
>>> contain the stlport_shared library and the DSL to exclude/pickFirst has no 
>>> effect, it always results in the following error nonetheless:
>>>
>>> Error:duplicate files during packaging of APK ***
>>>     Path in archive: lib/armeabi/libstlport_shared.so
>>>       Origin 1: ***\build\intermediates\exploded-aar\hu.uni_pannon.
>>> lavinia\absorptionmodel\1.0.0\jni\armeabi\libstlport_shared.so
>>>  Origin 2: ***\src\main\jniLibs\armeabi\libstlport_shared.so
>>> You can ignore those files in your build.gradle:
>>>  android {
>>>         packagingOptions {
>>>        exclude 'lib/armeabi/libstlport_shared.so'
>>>    }
>>>  }
>>>
>>> This is what I have in the build.gradle file:
>>>
>>> android {
>>>     packagingOptions {
>>>         exclude 'META-INF/LICENSE.txt'
>>>         exclude 'META-INF/LICENSE'
>>>         exclude 'META-INF/NOTICE.txt'
>>>         exclude 'META-INF/NOTICE'
>>>
>>>         pickFirst 'lib/armeabi/libstlport_shared.so'
>>>         pickFirst 'lib/armeabi-v7a/libstlport_shared.so'
>>>         pickFirst 'lib/x86/libstlport_shared.so'
>>>     }
>>> }
>>>
>>> Is this a known regression?
>>>
>>> -- 
>>> 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.
>>>
>>
>>
>>
>> -- 
>> Xavier Ducrohet
>> Android SDK Tech Lead
>> Google Inc.
>> http://developer.android.com | http://tools.android.com
>>
>> Please do not send me questions directly. Thanks!
>>  
>

-- 
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