When running "./sigrok-cross-android prepare" the installer will
ask for confirmation at the start, and for accepting license(s)
multiple times.
Allow non-interactive or scripted use by automating / forcing these
operations.
# NDK
$WGET http://dl.google.com/android/ndk/android-ndk-r$VER_NDK-linux-x86.bin
chmod 700 android-ndk-r$VER_NDK-linux-x86.bin
# NDK
$WGET http://dl.google.com/android/ndk/android-ndk-r$VER_NDK-linux-x86.bin
chmod 700 android-ndk-r$VER_NDK-linux-x86.bin
- ./android-ndk-r$VER_NDK-linux-x86.bin
+ ./android-ndk-r$VER_NDK-linux-x86.bin -y
cd android-ndk-r$VER_NDK
./build/tools/make-standalone-toolchain.sh --platform=android-$VER_AND_API \
--toolchain=arm-linux-androideabi-4.9 \
cd android-ndk-r$VER_NDK
./build/tools/make-standalone-toolchain.sh --platform=android-$VER_AND_API \
--toolchain=arm-linux-androideabi-4.9 \
$WGET http://dl.google.com/android/android-sdk_r$VER_SDK-linux.tgz
tar xfz android-sdk_r$VER_SDK-linux.tgz
cd android-sdk-linux
$WGET http://dl.google.com/android/android-sdk_r$VER_SDK-linux.tgz
tar xfz android-sdk_r$VER_SDK-linux.tgz
cd android-sdk-linux
- ./tools/android update sdk --no-ui --filter platform-tools,build-tools-$VER_AND_BT,android-$VER_AND_API
+ echo y | ./tools/android update sdk --no-ui --filter platform-tools,build-tools-$VER_AND_BT,android-$VER_AND_API