ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) values: [build_ap86oam
Try to comment this in your app level build.gradle file
build.gradle
openOptions { disable 'InvalidPackage' }