Target aarch64-linux-android is not installed

The error message told me that target aarch64-linux-android is not installed, but I have already installed it

rustup target list
aarch64-linux-android(installed)

where rustup point to ~\.cargo\bin\rustup.exe and where cargo point to ~\.cargo\bin\cargo.exe

image

What command were you running when you got that error? Is it building with rustup’s default toolchain, or some alternate toolchain?

Thank you for your reply, this error occurred when I run the mlc_llm package command. I was trying to compile the model, and I tried many ways but failed to solve this problem.

I have solved this problem, which should be due to a problem with my path.