According to this, try to use the new version of gradle : 2.3.0
This issue has been fixed in
ag/I6a6ef1a95732118b8e330b64fe4389710a3a2657. Please use newer gradle
plugin 2.3.0-beta2 or, if using 2.2.x, disable new packaging by using
the "android.useOldPackaging=true" flag.