The "android" command is deprecated after updating sdk. How to open sdk manager in Eclipse now?
I'm using Android Studio but here is a command you might try (it works for me):
<64-bit jre home>\bin\java "-Dcom.android.sdkmanager.toolsdir=C:\programs\Android\android-sdk\tools" "-Dcom.android.sdkmanager.workdir=C:\programs\Android\Android Studio\jre\jre\bin" -classpath "lib\sdkmanager.jar;lib\swtmenubar.jar;lib\x86_64\swt.jar" com.android.sdkmanager.Main sdk
Replace the toolsdir and workdir VM params with your own values. Possibly you will need to locate tools like unpack200.exe in your sdk which are probably used when unpacking new components, and use that directory as workdir. Alternatively, just copy that directory from an Android Studio install.
You must execute it in your tools directory located in the android sdk, i.e.
C:\programs\Android\android-sdk\tools>
Then again, it's probably easiest and more future-proof to just install Android Studio and open the SDK manager from there ;)
Sahidul Hassan Razon
I am a professional web and mobile application back-end developer for 8+ years. I started work as a web developer with PHP and MySQL. As a PHP programmer, I worked on different PHP framework like Yii, Codeigniter, Laravel and also developed Drupal module time to time. And, for the last four years, I have been working on mobile technologies like Android, React Native, Titanium, and jQuery Mobile. Developed and published many different applications in Google Play and iTunes successfully.
Updated on December 02, 2022Comments
-
Sahidul Hassan Razon over 1 year
After updating android sdk to 25.3.1, can't open sdk manager from Eclipse. Tried with SDK Manager.exe nothing happened. Then found on batch file:
The android command is no longer available. For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
Then tried with tools/bin/sdkmanager, still nothing.
My java path is ok as it was working fine just before the update.
-
Kevin Krumwiede about 7 yearsOr IntelliJ IDEA if you also want to develop non-Android projects. Google dropped support for Eclipse almost two years ago.
-