一、背景 windows下用WSL运行32位程序会报错: aapt: cannot execute binary file: Exec format error fileaapt#查看文件信息 aapt: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.24
当你遇到“cannot execute binary file”这个错误时,通常意味着你试图在一个不支持该文件格式的环境中执行一个二进制文件。这里有几个步骤可以帮助你解决这个问题: 确定操作系统及其版本: 不同的操作系统支持不同的二进制格式。例如,Linux系统通常使用ELF格式,而Windows系统使用PE格式。确保你的操作系统与二进制文件的...
需要检查一下这个文件是否 shell 脚本, 如果是shell脚本, 才可以使用 “sh ???。run”的形式执行。 如果本身是一个可执行的命令程序, 不需要使用 sh, 直接加上执行权限, 执行这个应用程序就可以 (类似 windows下的 。exe文件 )
When I try to launch a Windows binary from bash (as described here) I get the following error:WIN10:~$ ls /mnt/c/Windows/System32/notepad.exe -l -r-xr-xr-x 2 root root 243200 Jul 16 13:42 /mnt/c/Windows/System32/notepad.exe WIN10:~$ /mnt/c/Windows/System32/notepad.exe bash...
CentOS 报错cannot execute binary file 在安装软件过程中执行文件,报错cannot execute binary file 1、查看是否root用户登录,当前用户是否有可执行权限 2、ls -l 查看文件是否具有可执行权限 3、要使用对应的64位/32位安装包。 原因是点击了
server-release/images/jdk' found 04:25:42 =JAVA VERSION OUTPUT= 04:25:42 /cygdrive/c/workspace/openjdk-build/sbin/build.sh: line 551: /cygdrive/c/workspace/openjdk-build/workspace/build/src/build/windows-aarch64-server-release/images/jdk/bin/java: cannot execute binary file: Exec format ...
选择nginx/Windows-*下载。 安装 解压压缩包,双击打开nginx.exe,窗口会自动隐藏。 打开浏览器,访问 http://localhost/。 如果一切正常的话,你将会看到: 配置 配置错误界面 打开.\conf\nginx.conf文件,可以看到它大致如下图所示: 把#error_page 404 /404.html;一行前面的#去掉,在.\html目录下放置404.html。
出现错误:"cannot execute binary file exec format error in cygwin“EN我正在尝试使用cygwin在windows...
./my_app.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows 更改了编译命令, gcc -o myapp hello.c ./myapp 一切正常。 总结: 如果你遇到了“cannot execute binary file” 这样的提示, 还请确认下,你的 gcc 编译命令是否有问题, 生成的文件是否是你预期的执行文...
Windows 10 + Docker: /usr/bin/sh: /usr/bin/sh: cannot execute binary file Summary Build fails with "cannot execute binary file" after clone Steps to reproduce Try executing a build Actual behavior Build fails with /usr/bin/sh: /usr/bin/sh: cannot execute binary file...