I just downloaded the Android SDK command line tools for Windows (26.0.2). I am trying to download selected SDK components using \ tools \ bin \ sdkmanager.bat, as well as updating \ tools. When the installation is complete, the following message appears:
Attention: an error occurred during installation: Failed to delete or delete the existing target file: C: \ testinstall \ sdk \ tools Retract it manually and try again.
I donβt see how I can remove \ tools manually because it contains \ bin \ sdkmanager.bat.
Screenshot of sdkmanager command:

All other components seem to be installed without errors. See the components listed in the package file below:

android android-sdk-manager
burntsugar
source share