Build issues with Android examples on Windows. No "FindGStreamerMobile.cmake"?

Hi everyone, I am currently trying to build the android tutorials on windows with Android Studio, but I’m running into a weird issue that I can’t find anywhere on google. I’ve downloaded the prebuilt 1.22.12 android binaries, installed gstreamer mvsc and develop viersions on my machine, and set up the gstAndroidRoot in my gradle properties.

I’m running into the following error , and I’m not sure how to fix this

CMake Error at CMakeLists.txt:28 (find_package):
By not providing “FindGStreamerMobile.cmake” in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
“GStreamerMobile”, but CMake did not find one.

Could not find a package configuration file provided by “GStreamerMobile”
with any of the following names:

GStreamerMobileConfig.cmake
gstreamermobile-config.cmake

Add the installation prefix of “GStreamerMobile” to CMAKE_PREFIX_PATH or
set “GStreamerMobile_DIR” to a directory containing one of the above files.
If “GStreamerMobile” provides a separate development package or SDK, be
sure it has been installed.

Am I missing some install of environment variable? Appreciate the help.

The cmake build files are only available from GStreamer main. 1.22 does not contain them.

Either update GStreamer to main, or use the previous ndk-build files within your application.

Thanks! yeah it was a versioning issue, but the issue was that I checked out the “master” branch of the repo which is only 2.19, and not the “main” branch which is actually up to date