Part of our app's build.gradle
is this:
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniFolders = new HashSet<File>()
pkgTask.jniFolders.add(new File(projectDir, 'libs'))
}
For some reason when setting up AppInvites, build starts failing with following error:
* What went wrong:
A problem occurred configuring project ':app'.
> Cannot set the value of read-only property 'jniFolders' on task ':app:packageProdDebug'.