Android Studio can't access SDK Manager - sdk

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...

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

This is an old one, but since I fixed that, I'm just sharing.
I sorted it downloading the stand-alone SDK and pointing the SDK Location to the folder.
Download the SDK from the "Get the SDK for an existing IDE" https://developer.android.com/sdk/index.html
As #pyus13 said, from the Project structure, select the downloaded folder
Configure > Project Defaults > Project Structure > Android SDK
Now your SDK Manager tab in no longer grayed out and you can access it
Hope this help.

I found the bulls eye solution.
Download SDK zip file from developer.android.com
Extract the zip file.
Copy and paste that extracted folder into Applications/Android Studio/
Open Android Studio. Go to: (Quick Start) / Configure / Project Defaults / Project Structure / (Android SDK Location) and browse SDK folder.
Apply and save.
You and me finally solved this problem. :D

Related

I lost all the iOS simulators in Appcelerator Studio? How do I get them back?

I haven't been able to build to my iPhone 6 so yesterday I was advised to add to Xcode (in Preferences > Accounts tab) the Apple ID of the leader of our informal team.
Still wasn't able to build to my iPhone, and today I realized that all my iOS simulators have disappeared from Appcelerator Studio.
What did I do to disappear them from this project? And how do I restore them? (I see that they're still there in another project.)
I had the same problem and found the answer here.
1.Go to Home(jacklee).
2.Go to Folder and find the titanium folder (.titanium).
3.find the files calling "config.json" and Edit the files.
4.change the ""selected": "3.5.1.GA"" to the Latest SDK (any GA Version should be fine).
5.Delete the RC(beta)SDK.
Problem might be with your deployment target selection in the tiapp.xml file, make sure you select 'iPhone' checkbox in the tiapp.xml editor of your project.

Android SDK could not be found

some where on Xamarin forum i found that i did not had android>>BuildTool>>19.0,19.3 and all that. so i open up and installed all these pakages. But now i open visual studio and open project (Android App) this exception is comming on Main.axml
Exception:
The Android SDK could not be found. Make sure the path to the SDK is correctly configured in the Xamarin studio option and that you have installed the plateform tools and atleast one plateform SDK.
Please help me getting out of this exception .
Thanks!
Looks like you're missing the Android NDK. After the installation, if still doesn't work, try to double check the parts Java JDK (32 bit), Android SDK For more information check over here.
Try to change SDK path in Visual Studio Tools->Xamarin to:
"...Android SDK in a AppData folder that's hidden from the user"
Xamarin Forum which helped me

where I can find the iphone simulator for launching xamarin IOS Application

I am pulling my hair on this Issue . Actually I am developing first time IOS Application with the help of xamarin. I am creating this Application on MAC. The Hello world Application has been Created. I have take Referenced from Xamarin Hello World Tutorial . But I have not getting the IOS Simulator Option in devices drop down. It have only two option ,Ios Device and Default.For the simulator ,Is There need any Installation or something else.Please help me and any help will be Appreciated.
Does it find XCode in the right location? Check by clicking Xamarin Studio>Preferences>SDK Locations>Apple. If the Apple SDK was not found, you can manually specify XCode location path.
I had this problem because I was trying to create and use an iOS project using the "Unified API." I suggest not using this and sticking with the "Classic API." The former does not work (it won't build) if you want to use the simulator rather than a real device.
Are you not getting screen like below.???
go through below link , it may help you my friend..
http://docs.xamarin.com/guides/ios/getting_started/installation/mac/
I think you don't have iOS SDKs for your Xcode, usually it comes with the Xcode but if for some reasons you don't find it, simply follow the steps listed below:
Go to Finder > Applications > XCode (Right Click) > Show Package Content
A new finder window will open with Contents folder
Content > Developer > Platforms > iPhoneSimulator.platform > Developer > SDKs > Here you should get the list of *.sdk files
If there are no files then download the SDK file and paste it here, close the Xcode, Monotouch, and again Open it, you should find the iOS simulators in the dropdown.
You should be able to get the Xcode and SDk here
Please verify if you have installed Xcode correctly because it usually contains atleast 1 SDK
It was the Issue of xcode version.I have updated the version Now ots working fine.Thanks JAL.
select Debug-iPhoneSimulator option Image1
Right click on the project in your solution pane
select Run with iPhoneSimulator Image2

Windows Phone 7.1 Advertising Sdk on Visual Studio Express 2012 for Windows Phone

I'm trying to build my wp7 project under vs2012 express for wp. It uses the ad sdk, but I am getting the following errors:
Error 7 The name "AdControl" does not exist in the namespace
"clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=
Microsoft.Advertising.Mobile.UI".
Does anyone know why?
CLARIFICATION - i'm not trying to upgrade my project to wp8 at this time --- just trying to build for 7.1 like before using the new sdk.
Should I be also installing the old 7.1 phone sdk?
http://www.microsoft.com/en-us/download/details.aspx?id=27570
Thanks
I ran into this problem - deleting the Microsoft.Advertising.Mobile.UI reference from the project and readding it and a reference to Microsoft.Advertising.Mobile fixed it for me.
you can check on the following things:
Check whether you updated the target phone framework to "Windows Phone 8.0 OS"
check if you can see yellow exclamation icon in Advertising SDK dll in references folder in Solution Explorer. if yes, then delete that reference and add the reference again to advertising sdk dll from "Add Reference" dialog box.

Can't make new Blackberry Project

Basically I use eclipse and I installed the plugin for blackberry, however even know if I go to about and it is listed as installed, I cannot create a new project, or open the perspective either. It's nowhere to be found in the new project menu. I just followed what was on here:
http://us.blackberry.com/developers/javaappdev/javaplugin.jsp
Is there something else I need to do?
I have the very same problem.
I download blackberry jde 7.1 for eclipse.
Try to add new blackberry project, but there are no Blackberry project option.
Check my JDK version, turns out I installed jdk 5
Remove the jdk 5, and install jdk 6 32 bit, update 31.
Reinstall the blackbery jde 7.1.
Now I have Blackberry option when i try to add new blackbery project.
Use file -> create new project and inside choose Blackberry Project. Note that you should use the BlackBerry plugin for eclipse to do that
Download the Eclipse and Blackberry installation bundle and you're good to go. It combines the two and avoids having to install new software.
i had this issue and the steps on blackberrys site helped me to resolve it:
from: BlackBerry Developer Site
In your existing Eclipse environment, follow the steps below:
From the Help menu, select Install New Software to open the Install window.
Click Add:
In the Add Site dialog, type the URL http://www.blackberry.com/developers/jar/win/java into the location text box and specify BlackBerry Java Plug-in Update Site in the name text box.
Click OK, BlackBerry Update Site appears in the Available Software list.
Select the BlackBerry Java Plug-in item and at least one BlackBerry SDK you want to work with. Choose the version of the BlackBerry SDK which ensures that your application is compatible with your intended target market. Read more about SDK versions.
Click Next.
Click Next after reviewing the items to be installed.
Check I accept the terms of the license agreement after reviewing the licenses.
Click Finish to begin installation.
After successfully downloading the files, you'll be prompted to restart Eclipse.

Resources