Error occurs, when compile for android on Mac.

Hello, everyone.
I am a beginner and want to compile my project that contains c to aarch64-linux-android, but error occurs.

I am on a mac and use ndk(version=26.2.11394342) and cmake(version=3.22.1) by Android Studio.
When the following command is executed, the following error occurs.

Command:

export ANDROID_HOME="$HOME/Library/Android/sdk"
export NDK_HOME="$ANDROID_HOME/ndk/26.2.11394342"
export CMAKE="$ANDROID_HOME/cmake/3.22.1"

cargo new Test
cd Test
cargo add avif-decode
cargo build --target aarch64-linux-android

Error message:

   Compiling libaom-sys v0.15.0
   Compiling avif-parse v1.0.0
   Compiling lodepng v3.10.1
error: failed to run custom build command for `libaom-sys v0.15.0`

Caused by:
  process didn't exit successfully: `/Users/okazaki/src/app/Test/target/debug/build/libaom-sys-2d4aba055f1662f7/build-script-build` (exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_aarch64-linux-android = None
  CMAKE_TOOLCHAIN_FILE_aarch64_linux_android = None
  TARGET_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = Some("/Users/okazaki/Library/Android/sdk/ndk/26.2.11394342/build/cmake/android.toolchain.cmake")
  CMAKE_GENERATOR_aarch64-linux-android = None
  CMAKE_GENERATOR_aarch64_linux_android = None
  TARGET_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_aarch64-linux-android = None
  CMAKE_PREFIX_PATH_aarch64_linux_android = None
  TARGET_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_aarch64-linux-android = None
  CMAKE_aarch64_linux_android = None
  TARGET_CMAKE = None
  CMAKE = Some("/Users/okazaki/Library/Android/sdk/cmake/3.22.1")
  running: cd "/Users/okazaki/src/app/Test/target/aarch64-linux-android/debug/build/libaom-sys-444667a618996c6d/out/build" && CMAKE_PREFIX_PATH="" "/Users/okazaki/Library/Android/sdk/cmake/3.22.1" "/Users/okazaki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libaom-sys-0.15.0/vendor" "-DENABLE_DOCS=0" "-DENABLE_EXAMPLES=0" "-DENABLE_TESTDATA=0" "-DENABLE_TESTS=0" "-DENABLE_TOOLS=0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DAOM_TARGET_CPU=aarch64" "-DCMAKE_TOOLCHAIN_FILE=/Users/okazaki/Library/Android/sdk/ndk/26.2.11394342/build/cmake/android.toolchain.cmake" "-DCMAKE_INSTALL_PREFIX=/Users/okazaki/src/app/Test/target/aarch64-linux-android/debug/build/libaom-sys-444667a618996c6d/out" "-DCMAKE_C_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_CXX_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_ASM_FLAGS= -DANDROID -ffunction-sections -fdata-sections -fPIC" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  thread 'main' panicked at /Users/okazaki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

  failed to execute command: Permission denied (os error 13)

  build script failed, must exit now
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...`Preformatted text`

Why does this happen? What should I do?