I am starting to use (and learn) WSL with Ubuntu 20.04, since I work with node and cordova apps I am trying to create a shell script that installs everything I need if (when) I break everything and I have to start from scratch.
I am installing the android skd using
sudo apt --assume-yes install android-sdk
and I add it to the PATH
PATH="$JAVA_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH
Everything works great until there, now I need to install the android sdk versions, that the android developer site says to do using the sdkmanager inside $ANDROID_HOME/platform-tools
but it is not there and I do not find any related package with it.
platform-tools content:
drwxr-xr-x 1 root root 512 Jun 30 11:08 ./drwxr-xr-x 1 root root 512 Jun 30 11:08 ../-rwxr-xr-x 1 root root 198984 Feb 8 11:55 adb*-rwxr-xr-x 1 root root 51312 Dec 13 2018 dmtracedump*-rwxr-xr-x 1 root root 22680 Mar 22 16:33 etc1tool*-rwxr-xr-x 1 root root 134160 Feb 8 11:55 fastboot*-rwxr-xr-x 1 root root 14328 Oct 24 2018 hprof-conv*lrwxrwxrwx 1 root root 15 Aug 29 2019 make_f2fs -> /sbin/mkfs.f2fs*lrwxrwxrwx 1 root root 12 Aug 29 2019 mke2fs -> /sbin/mke2fs*lrwxrwxrwx 1 root root 16 Aug 29 2019 mke2fs.conf -> /etc/mke2fs.conf-rw-r--r-- 1 root root 923 Jun 27 2019 package.xmllrwxrwxrwx 1 root root 16 Aug 29 2019 sload_f2fs -> /sbin/sload.f2fs*-rw-r--r-- 1 root root 7 Aug 29 2019 source.propertieslrwxrwxrwx 1 root root 20 Aug 29 2019 sqlite3 -> ../../../bin/sqlite3*
Inside platforms
i see that android-23
is there but nothing more.
Does anyone knows how to get the sdkmanager or the sdk versions??
Extra Info:
If I download the android command line tools manually, where to I put it? Should I delete the other things?