Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above). After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder.
No, You don't need to install everything. Install the "SDK Platform" for the Android versions you've set as minimum, target, and in-between the minimum & target. The Android SDK Extras are usually not required; but it is useful to be aware of them since they may be required depending on your use case.
Rather than doing so many steps click on set-proxy click on auto set-proxy and then click on check box and then ok you are done
Turn off your firewall, and check if it works perfectly, then add android.bat
to trusted files in your windows firewall and restart firewall.
First of all you must be connected to the internet.
Then run android studio.
I have the same issue under Ubuntu 14.04.
I setup my proxy in the network config system (it is ok with internet browser).
I setup my proxy with environment variables http_proxy and https_proxy.
As I use 64 bit machine, I also did:
sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
$ javac -version
javac 1.7.0_80
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With