]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-android: Fix "prepare" due to upstream changes.
authorUwe Hermann <redacted>
Tue, 28 Jul 2015 17:50:56 +0000 (19:50 +0200)
committerUwe Hermann <redacted>
Tue, 28 Jul 2015 17:50:56 +0000 (19:50 +0200)
The "android update sdk" run now seems to need an additional "--all"
argument, otherwise various packages will not be found. It's unclear
whether this is an intentional upstream change or a bug (it used to
work fine without "--all" before).

Either way, adding "--all" has the desired effect.

cross-compile/android/sigrok-cross-android

index b8a17fae929adbe1b9807bb275b57851c75a27bf..4aee37271c9960469fd6fb441d328b81d6fd927f 100755 (executable)
@@ -120,7 +120,7 @@ if [ "x$1" = "xprepare" ]; then
   $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
-  echo y | ./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 --all --filter platform-tools,build-tools-$VER_AND_BT,android-$VER_AND_API
   cd ..
 
   exit