Bambuser ffmpeg - “arm-linux-androideabi-gcc is unable to create an executable file.”

江枫思渺然 提交于 2019-12-05 05:07:28

I finally found the problem with my setup when facing this same issue... Looking at the arm-build.sh script, I started following the script. Notice the "TOOLCHAIN=..." path.

Originally the path was: TOOLCHAIN=echo $NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/*-x86

When I went to verify this path exists, I noticed that it did not. I think the reason is that I have a 64-bit build.

My path is actually: .../toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64

What I ended up doing was copying the folder, and renaming it to "linux-x86" and now all is compiling.

Hope this helps someone!

I also faced this problem this morning and tried solutions suggested for similar questions here. But none of the solutions worked for me.

But finally i solved it. In my case, it was problem with Android NDK package. My system is 64bit ubuntu and my ndk pkg was also linux-64bit. But when i used the ndk-linux-x86, this problem was solved. I hope that this might help someone else.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!