Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android.bat file is missing in sdk\tools folder also i do not having AVD & SDK manager in tools so i can replace them

Tags:

i have also copied android.bat from my backup SDK but it is still not working. thanks in advance.

like image 408
Rakshit Soni Avatar asked Jul 25 '14 06:07

Rakshit Soni


People also ask

How do I fix sdk Tools folder is missing?

Quick fix: Go to the Tools –> SDK manager –> SDK tools. Deselect Hide obsolete packages option on the right bottom and further install Android SDK Tools(obsolete). A new folder named Tools is now generated in the SDK directory.

Where is my Android SDK file located?

by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".


2 Answers

Probably all the contents of the sdk/tools folder are missing as well?

Best method to solve this issue is to go to the sdk/temp folder. There you will find a zip file with a name like "tools_r24.0.1-windows" (version number will be different)

Copy it to someplace and extract it. Inside the extracted folder you'll have a folder named 'tools'

Copy that folder to sdk/ and replace the current tools folder in sdk/

And voila! SDK and AVD will work again and all your virtual devices will be restored!

like image 85
Sndn Avatar answered Sep 20 '22 17:09

Sndn


The Best Solution i have is download the SDK Tools Only From: http://developer.android.com/sdk/index.html

->Other Download Options->SDK Tools Only->android-sdk_r24.*.*-windows.zip
Update: Web content updated now you need to go to the section below

"Get just the command line tools" (Download tools according to your operating system)

.
and extract it into your sdk location where the tools required.

like image 22
Moosa Baloch Avatar answered Sep 19 '22 17:09

Moosa Baloch