This repository includes sentry-native as a git submodule.
To build against sentry-native checked-out elsewhere in your file system, create a symlink sentry-android-ndk/sentry-native-local that points to your sentry-native directory.
For example, if you had sentry-native checked-out in a sibling directory to this repo:
ln -s ../../sentry-native sentry-android-ndk/sentry-native-local
which will be picked up by gradle and used instead of the git submodule.
This directory is also included in .gitignore not to be shown as pending changes.