No such property: ABI for class: org.gradle.api.tasks.OutputFile
replace this line in build.gradle(:app)
def abi = output.getFilter(OutputFile.ABI)
with:
def abi = output.getFilter(com.android.build.OutputFile.ABI)
Okay I found the solution. Adding
import com.android.build.OutputFile
to the build.gradle(for app) solved the problem