Compile for android with ndk-r19b

I am trying to port a facial recognition library Arcface for android. For that I am trying to compile the MXNET C++ api for building shared library. I have followed this tutorial for building the amalgamation and try out the prediction API. I failed to compile the amalgamation. Seems like latest NDK is not compatible with the source.
I have successfully built and tested the C++ API for mxnet before.
Now I need to know two things -

  1. Does the amalgamation of mxnet provide full mxnet cpp API. It’s mentioned in the amalgamation readme that

Currently it supports generation for predict API

  1. Can I port the full mxnet C++ api as shared library for Android?

Any suggestions is appreciated.