I have just downloaded and installed Android studio 0.4.2 and loaded an android project. This project gives me this error:
Cause: failed to find target android-17
Please install the missing platform from the Android SDK Manager.
so great, I will now go into the SDK manager, and get the missing platform. The only problem is, I cannot access the SDK Manager. The SDK manager button is grayed out and when I go to tools, there is no option for android, so I can't go to toold
Any ideas on how I can fix this problem? I have used Eclipse with ADT before and never had this issue...
Go to "SDK Tools" and install "Android SDK Tools" and "Android SDK Command-line Tools": You need to open Android Studio then go to Tools > SDK Manager > SDK Tools tab, uncheck the option Hide Obsolete Packages. And install Android SDK Tools and Android SDK Command-line Tools.
To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool.
From Eclipse (with ADT), select Window > Android SDK Manager. On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory. On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute android sdk .
Close the project from
File > Close project
doing this will take ou to the Android Studio welcome screen. From there navigate to this path
Configure > Project Defaults > Project Structure > Android SDK
Set you Android SDK location here, you can check all API's level from he same screen inside SDKs tab.
Now import your project again. You can set project specific SDK after opening the project from
File > Project Structure
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