I installed Android Studio 2.2.2 on my system. After when I openend one of the projects which have compileSdkVersion 23
, got following error,
> Error:Failed to find target with hash string 'android-22' in: > href="install.android.platform">Install missing platform(s) and sync > project</a>
I know this error means I need to download sdk packages but I'm not able to do so. Also in my SDK Manager I don't see all APIs to install
If you know the version you want, a link like http://tools.android.com/download/studio/builds/2-1-3 will get you to a download page for 2.1. 3 via the tools.android.com site, if you prefer.
Downloading Android Studio Under downloads for windows, you can either download 64 bit or 32-bit versions. The 32-bit version can only be downloaded as a zip file, while 64 bit is available as exe installer. Next, accept the license agreement and click on “ Download Android Studio for Windows ” to begin download.
In Android Studio, go to Tools > SDK Manager. In the SDK Tools tab, select the latest version of Android Emulator, and click OK. This action installs the latest version if it isn't already installed. Go to Tools > Device Manager, follow the instructions on the page that appears, and select Create device.
I was facing the same issue. For me, it got resolved by setting proxy settings.
Android Studio > File > Settings >appearance and behavior> System Settings > HTTP Proxy
I would suggest checking any proxy is required to enable internet for your android studio. Hope this will help somebody.
Open Android SDK Manager
Update your SDK's
Then Sync ,Re-Build and Restart Your Project
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