ABIs splits is not working with below conditions : 

build.gradle :

android {
  ...
  splits {
    abi {
      enable true
      reset()
            include 'armeabi', 'arm64-v8'
    }
  }
}
I tried this from tools.android.com - "*reset()*: reset the list of ABIs to 
be included to an empty string (this allows, in conjunctions with *include*, 
to indicate which one to use rather than which ones to ignore)"

By not working, I mean only one apk is being generated. I am expecting two 
APKs corresponding to each abi to be generated.
But if I modify it to include exclude instead of reset(), then it works 
perfectly
This works well : 
android {
  ...
  splits {
    abi {
      enable true
            exclude 'armeabi-v7a', 'mips', 'mips64', 'x86', 'x86_64'
      include 'armeabi', 'arm64-v8'
    }
  }
}

Gradle version -  2.2.1
Android plugin version - 1.3.1
JDK version - 1.7
OS - Windows 7

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