Fixed some bugs in install.sh and nativeActivity-install.sh