./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,到此结束。清明来了,可以好好的休息一下了。

相关文章
|
9月前
|
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.
684 0
npm run dev启动报错:Error: Cannot find module 'semver'
npm run dev启动报错:Error: Cannot find module 'semver'
251 0
|
5月前
|
缓存 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报错
|
数据可视化 Python
常见的bug---5、在安装superset时候报错,Command “python setup.py egg_info“ failed with error code 1
常见的bug---5、在安装superset时候报错,Command “python setup.py egg_info“ failed with error code 1
|
9月前
|
Shell 开发工具 Android开发
详解sh ndk-build.cmd command not found
【4月更文挑战第2天】
107 1
|
9月前
|
Python
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
|
9月前
|
Go C语言
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
安装go-sqlite3包时报exec: "gcc": executable file not found in %PATH%解决办法
302 0
|
Python
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
678 0
|
并行计算 PyTorch 算法框架/工具
pip安装报错:Command python setup.py egg_info failed with error code 1
pip安装报错:Command python setup.py egg_info failed with error code 1
398 2
pip安装报错:Command python setup.py egg_info failed with error code 1