Search Unity

Android Plugin: Device Filter stripping error with .aar files

Discussion in 'Android' started by Krisztian-Leicht, Aug 15, 2017.

  1. Krisztian-Leicht

    Krisztian-Leicht

    Joined:
    Sep 10, 2015
    Posts:
    6
    Recently noticed that even though I set a Device Filter to ARM or X86 .aar plugins that contain native files in jni folder won't get stripped.
    But native plugins in Assets/Plugins/Android/libs/armeabi-v7a or Assets/Plugins/Android/libs/x86 get stripped.
    Anyone else noticed this?

    Unity Version 5.6.3f1
    Build System: Internal (default)
     
  2. AndyBlock

    AndyBlock

    Joined:
    Oct 12, 2016
    Posts:
    35
    We're seeing the same on 5.6.1 using gradle / IL2CPP. We didn't have this problem without IL2CPP though. I don't suppose you happened to find a nice solution for this?