Closed Samet195 closed 1 year ago
I am sorry. Actually, it wasn't a problem. I solved it by running this script and adding the following lines in .cargo/config.toml
.
python <adroid-ndk>/build/tools/make_standalone_toolchain.py --api 26 --arch arm64 --install-dir <project-dir>/lib/NDK
[target.aarch64-linux-android] ar = "/<project-dir>/lib/NDK/bin/aarch64-linux-android-ar" linker = "/<project-dir>/lib/NDK/bin/aarch64-linux-android-clang"