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

相关文章
|
4月前
|
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.
487 0
|
1月前
|
JavaScript 开发工具 git
Electron V8排查问题之构建时报错 "user32.lib is not found in LIB"如何解决
Electron V8排查问题之构建时报错 "user32.lib is not found in LIB"如何解决
29 1
|
2月前
|
应用服务中间件 nginx
Ngnix08源码的复杂安装, --prefix=PATH可以设置一些相关的路径,对./configure进行进行编译设置,--sbin-path=PATH可以启动文件,或者相make clean清屏
Ngnix08源码的复杂安装, --prefix=PATH可以设置一些相关的路径,对./configure进行进行编译设置,--sbin-path=PATH可以启动文件,或者相make clean清屏
|
4月前
|
Shell 开发工具 Android开发
详解sh ndk-build.cmd command not found
【4月更文挑战第2天】
|
10月前
|
Ubuntu
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
./autogen.sh: 5: ./autogen.sh: autoreconf: not found
142 1
|
4月前
|
资源调度 前端开发 Java
React Native 运行报错 Command failed_ gradlew.bat app_installDebug -PreactNativeDevServerPort=8081
React Native 运行报错 Command failed_ gradlew.bat app_installDebug -PreactNativeDevServerPort=8081
137 0
|
Python
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
pyinstaller打包exe后不能运行报Failed to execute script XXXX问题分析与处理
415 0
npm : 无法加载文件 D:\soft\codeProcess\node\node_global\npm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.micr +
npm : 无法加载文件 D:\soft\codeProcess\node\node_global\npm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.micr +
npm : 无法加载文件 D:\soft\codeProcess\node\node_global\npm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.micr +
./autogen.sh: 3: gtkdocize: not found
./autogen.sh: 3: gtkdocize: not found
95 0