Warning: Failed to find package cmake;3.10.2.4988404

open SetupAndroid.sh and go to this line:

“$SDKMANAGERPATH/sdkmanager” “platform-tools” “platforms;android-28” “build-tools;28.0.3” “cmake;some_version” “ndk;some_numbers”

and delete “cmake;some_version”
run it. if it complains about “ndk;some_numbers”, remove it too.

That made it work for me on an linux ubuntu 20.04 system. (I would guess it could also work on any platform)