No rule to make target 'client', needed by 'ndk-app-local'


I am building an Oculus Quest app, lambda1vr, in Android Studio on Mac, and I’m getting fatal build errors.

./gradlew build —scan in Android Studio:

I think this error is the problem:
make: *** No rule to make target ‘client’, needed by ‘ndk-app-local’. Stop.
But I do not know how to fix it. I would very much appreciate your help.

Thank you,

Mac 10.12.6 Sierra
Android Studio 3.6.3
Oculus Mobile SDK 1.24.0
NDK 21.1.6352462
gradle 4.10.2 (I cannot use gradle >4 because the project uses deprecated code)
Android SDK API 24, 26, and 28 are installed.