Skip to content Skip to sidebar Skip to footer

Android_build.sh Gives Error While Building Ffmpeg Library

i am trying to build ffmpeg library my android_build.sh is given below #!/bin/bash NDK=C:/Users/Benzatine/Downloads/android-ndk-r10e SYSROOT=$NDK/platforms/android-18/arch-

Solution 1:

Easy way to convert example.sh file to unix is use NotePad++ (Edit>EOL Conversion>UNIX/OSX Format)

You can also set the default EOL in notepad++ (Settings>Preferences>New Document/Default Directory>select Unix/OSX under the Format box)

Reference- syntax error near unexpected token `$'in\r''

I used this one. It solves my problem earlier.

Post a Comment for "Android_build.sh Gives Error While Building Ffmpeg Library"