ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) values: [build_ap86oam
I added debug under buildTypes in the gradle file and missed a comma after "API_URL":
not working:
buildTypes { ... debug { buildConfigField "String", "API_URL" "\"http://myapi.com/\"" } }
working:
buildTypes { ... debug { buildConfigField "String", "API_URL", "\"http://myapi.com/\"" } }
good luck!