The uname executable for OSX does not recognize the o parameter and results in a warning when creating a new Android project:o parameter: _This is a synonym for the
<pre>
./create-android-project.sh
uname: illegal option — o
usage: uname
./create-android-project.sh: line 23: [: =: unary operator expected
</pre>
The manpage for uname states for thes option, for compatibility with other systems._s parameter or just ditch it altogether since -s seems to be the default.
Therefore, we can safely use the
o is the flag left for cygwin, otherwise build_native.sh cannot work correctly on windows + cygwin.s can do on cygwin since I have no the environment.
I’m not sure if
Ming can check this tomorrow.
Add chmod u+x $APP_DIR/android/build_native.sh is a good idea!
Thanks for your pull request! Please fix the commented NDK_ROOT & ANDROID_SDK_ROOT, and re-pull again.
Done. Thanks!