int main(int argc, char **argv) { return 0; }
I cross compile (host= linux x86_64, target= linux aarch64)
/path/to/clang --target=aar
Just in case I use Qt and for running apps on Android with Qt versions greater than 5.11, had this problem with the latest Android Sdk and NDK-r20c. and after some struggles, finally it worked with NDK-r19c.