构建 Android 版 Discourse Hub 失败

我正在 macOS 上尝试构建 DiscourseHub,以调试 Forum entries jump on Android app after opening the app - #5 by trs80 。经过一番努力,我终于设置好了构建环境(说明文档中显然遗漏了安装 Java 和 Android Studio 的步骤 Set Up Your Environment · React Native ),但运行 npx react-native run-android 时出现以下错误:

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.

这看起来应该是一个简单的修复,但我不知道在哪里修改。另外,鉴于这是一个全新检出的代码库,理论上应该能直接运行成功。关于这是什么原因,大家有什么看法吗?