Search code examples
androidandroid-studioandroid-5.0-lollipop

Android studio not letting me install the Android SDK platform


Everything was working fine until I imported Esclipse Lollipop examples and the following errors showed up

enter image description here

enter image description here


Solution

  • The project you imported from eclipse is probably using an older version of the android SDK. Check the API version in the project. Typically, clicking the "Install missing platform(s) and sync project" works but seems like Android Studio isn't able to connect to the internet.

    There are some security restrictions that Mac OS X places on any application trying to connect to the internet, especially when you've edited the Info.plist file, which is not recommended. Did you get a dialog asking your to allow java to make network connections? Perhaps you clicked No?