Error while building android app after expo eject > No signature of method: build_*.android() is applicable for argument types

I’ve ejected from expo and am trying to build the android app using yarn android .

I’ve installed the Android SDK version 29 and followed the steps here to setup my environment.

I’m still getting the issue

Gradle version 7.0

Error

Build file '/Users/xx/Desktop/xx/frontend/xx/android/app/build.gradle' line: 127

* What went wrong:
A problem occurred evaluating project ':app'.
> No signature of method: build_39t5dl6bfupsndt2flstdwhi8.android() is applicable for argument types: (build_39t5dl6bfupsndt2flstdwhi8$_run_closure1) values: [build_39t5dl6bfupsndt2flstdwhi8$_run_closu
re1@bba8295]

Same issue here. Would love to know if you figured this out.