Correct way to publish detached app

HI, esameison

OK, I tried again as you suggested.
Here is the repo.
https://github.com/nfabacus/expo-detach-issue

When I tried ./gradlew installDevDebug inside of the android directory, first time it failed. second time it built the app, and it installed the app in the simulator device. However,
I see the message below in the terminal.

Parallel execution with configuration on demand is an incubating feature.
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Android\sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

NDK is missing a "platforms" directory.g dependencies ':app:_devRemoteKernelDebugApk' > :react-native-html-to-pdf
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Android\sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Also, when I call the linked library’s function in the running app, it crashes…
exp also complains that I need to do npm install again, which I have done many times.

Your help is appreciated, as I have no idea how to solve this issue.

Thank you