Falló la compilación del centro de debate para Android

Estoy intentando compilar DiscourseHub en macOS para depurar Forum entries jump on Android app after opening the app - #5 by trs80 y, tras algunos esfuerzos, configuré el entorno de compilación (las instrucciones no mencionan específicamente la instalación de Java y Android Studio Set Up Your Environment · React Native), pero al ejecutar npx react-native run-android obtengo:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/james/Software/discoursemobile/android/app/build.gradle' line: 88

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'MYAPP_VERSION' for DefaultConfig$AgpDecorated_Decorated{name=main, dimension=null, minSdkVersion=DefaultApiVersion{mApiLevel=26, mCodename='null'}, targetSdkVersion=DefaultApiVersion{mApiLevel=35, mCodename='null'}, renderscriptTargetApi=null, renderscriptSupportModeEnabled=null, renderscriptSupportModeBlasEnabled=null, renderscriptNdkModeEnabled=null, versionCode=243, versionName=null, applicationId=com.discourse, testApplicationId=null, testInstrumentationRunner=null, testInstrumentationRunnerArguments={}, testHandleProfiling=null, testFunctionalTest=null, signingConfig=null, resConfig=[], buildConfigFields={}, resValues={}, proguardFiles=[], consumerProguardFiles=[], manifestPlaceholders={}, wearAppUnbundled=null} of type com.android.build.gradle.internal.dsl.DefaultConfig$AgpDecorated.

lo que parece un arreglo sencillo, pero no sé dónde hacerlo y además debería funcionar directamente dado que es una descarga fresca. ¿Alguna idea de qué está pasando?