DiscourseHubをmacOSでビルドして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.
単純な修正で済みそうなのですが、どこを直せばいいのか分かりません。それに、これが新規のチェックアウトであるなら、そのまま動作するはずです。何が起きているのか、ご意見はありますか?