Renamed subdirectories in Android SKD's build-tools

Nix unzips the different components of the Android SDK one by one.
It followed the directory structure of complete packages released for
mainstream OS but the names of the directories in build-tools doesn't
match those.
As a result, some programs assuming the usual directory structure and
naming conventions broke (in my case it is a gradle plugin).
This is a fix. It may introduce a regression if some programs rely on
the current behavior.

+3 -2
+1 -1
pkgs/development/mobile/androidenv/androidsdk.nix
··· 219 fi 220 done 221 222 - for i in $out/libexec/android-sdk-*/build-tools/android-*/* 223 do 224 if [ ! -d $i ] && [ -x $i ] 225 then
··· 219 fi 220 done 221 222 + for i in $out/libexec/android-sdk-*/build-tools/*/* 223 do 224 if [ ! -d $i ] && [ -x $i ] 225 then
+2 -1
pkgs/development/mobile/androidenv/build-tools.nix
··· 18 mkdir -p $out/build-tools 19 cd $out/build-tools 20 unzip $src 21 22 ${stdenv.lib.optionalString (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") 23 '' 24 - cd android-* 25 26 # Patch the interpreter 27 for i in aapt aidl bcc_compat dexdump llvm-rs-cc
··· 18 mkdir -p $out/build-tools 19 cd $out/build-tools 20 unzip $src 21 + mv android-* ${version} 22 23 ${stdenv.lib.optionalString (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") 24 '' 25 + cd ${version} 26 27 # Patch the interpreter 28 for i in aapt aidl bcc_compat dexdump llvm-rs-cc