Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在尝试使用 cygwin 编译 JNI 项目时,我使用了./ndk-build. 但出现-bash: ./ndk-build: /bin/sh: bad interpreter: Permission denied错误。如何解决这个问题。
./ndk-build
-bash: ./ndk-build: /bin/sh: bad interpreter: Permission denied
该分区已作为用户和 noexec 安装。您可以运行下面的命令,将您的项目复制到 /tmp 文件夹并再次尝试您的命令。
mount -o remount,exec /tmp
如果这允许您编译而不是您需要找到您的文件夹所在的已安装设备并通过编辑将其更改为默认值/etc/fstab
/etc/fstab