I'm trying to run the Android SDK manager tool using the following command inside the folder where android-sdk-tools are located.
./sdkmanager
It gives me the following error.
Error: Could not find or load main class com.android.sdklib.tool.SdkManagerCli
Can someone please help with this?
I got this, so I went looking on a system where it worked. The command lives here:
This zip doesn't exist on my bad machine. I have no idea why, and some of the .jar files in there complain about
but I just copied what I needed from a working machine.
Another cleaner way to go about this is to follow the following steps:
/path-to-android-sdk/
Tools
directorySdk Tools
TabHide Obsolete Packages
Android Sdk Tools (Obsolete)
Apply
/path-to-android-sdk/
Note: What we simply did was delete and replace the old Tools which was corrupted or incompatible