./build_native.sh执行错误

简介: ./build_native.sh执行错误

前段时间遇到一个问题,就是做android开发的时候执行./build_native.sh一直有错误,当时一直没在意,换了个用法,使用sh build_native.sh,然后执行成功了。一直没明白,今天刚好有点时间,研究了一下。

看一下下面的错误:

,是我执行./build_native.sh时的错误。它的错误提示的意思是权限的问题。然后我又执行了一下

,再次执行./build_native.sh,仍然没有成功。为什么呢?这是因为权限修改的时候错了。应该是chmod a+x ./build_native.sh,再看一下执行结果。

这个应该很熟悉了。不错,就是2dx编译成功时的结果。



ok,到此结束。清明来了,可以好好的休息一下了。

相关文章
|
5月前
|
Linux 编译器 C语言
./build.sh:行1: g++: 未找到命令的错误问题在centos操作系统下面如何解决
通过上述步骤,您应该能够有效地解决CentOS系统中 `g++: 未找到命令`的错误。确保软件开发环境配置得当,对于顺利执行编译脚本和日常开发工作至关重要。如果问题依然存在,考虑检查脚本内的命令路径引用是否正确,或进一步排查系统配置问题。
234 0
|
Python
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
733 0
.run文件安装
  比如realplay.run  安装方法如下  chmod +x realplay.run  ./realplay.run  然后他就会执行安装了,在过程中可能会要求你输入yes或no  安装完后就可以用了
976 0
|
10月前
|
JavaScript Unix Linux
⨯ cannot execute cause=fork/exec...pnpm\bin\pnpm.cjs: %1 is not a valid Win32 application.
⨯ cannot execute cause=fork/exec...pnpm\bin\pnpm.cjs: %1 is not a valid Win32 application.
728 0
npm run dev启动报错:Error: Cannot find module 'semver'
npm run dev启动报错:Error: Cannot find module 'semver'
282 0
|
10月前
|
Shell 开发工具 Android开发
详解sh ndk-build.cmd command not found
【4月更文挑战第2天】
123 1
执行 `s local invoke` 命令时,如果出现报错
执行 `s local invoke` 命令时,如果出现报错
82 1
|
6月前
|
缓存 Python
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-npf9报错
|
10月前
项目打包报错“caniuse-lite is outdated. Please run next command `npm update`”的解决方案
项目打包报错“caniuse-lite is outdated. Please run next command `npm update`”的解决方案
555 1

热门文章

最新文章