Android Studio 0.3 - android

I updated to 0.2.13 today then to Android 0.3 and all of a sudden I get these errors.
The error I get is 'Please specify an android SDK'. I have set the path to Android Studio.app\sdk. If I also try to load the SDK Manager I get the same error.
I'm kind of stuck how can I fix this?

When I recently updated Android Studio, the SDK was no longer bundled in the app package.
Download the Android SDK separately from here: http://developer.android.com/sdk/installing/studio.html
Then in Android Studio change the location of the SDK in the Project Settings

Got the same issue. Open project settings and select SDK version from dropdown.

Related

Getting the errro: 'Please configure android sdk' in Android Studio

I am getting the error 'Please configure android sdk" in android studio. I have tried invalidating cashes/restarting but this has not helped. I have also tried creating a new project and am getting the same error. Any thoughts on what could be the problem?
Go to Tools --> Android --> SDK manager and then edit the Android SDK Location.
Put the path where is your downloaded android sdk.
Usually the android studio 3.5 configure that automatically.

Android Studio cannot detected Android Support Repository [duplicate]

I created Android Project but then I immediately get information that there have been errors.
Warning:(22, 12) Dependency on a support library, but the SDK installation does not have the "Extras > Android Support Repository" installed. Open the SDK manager and install it.
But I installed it, it was installed at the installation of Android Studio. I created another project and it happen again.
This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.
For me it was a very silly error and I spent the last two days trying to get around this. The path to the SDK in local.properties file was not properly escaped.
Change this:
# Location of the android SDK
sdk.dir=C:/Android/sdk
to this:
# Location of the android SDK
sdk.dir=C\:/Android/sdk
Refresh the gradle again.
When you download Android Studio you have 0.5.2 version,There is a solution is to downgrade exactly to 0.5.4
and download from here : Android Studio 0.5.4
after download the file just drag and drop in the place where you installed Android studio 0.5.2
Unfortunately, this bug appears to have resurfaced since it was last fixed. I have filed a new bug report to track it:
https://issuetracker.google.com/issues/37592307
Please "star" the bug report if it's affecting you.

Android Studio: "SDK installation does not have the "Extras > Android Support Repository" installed" BUT IT HAS BEEN INSTALLED

I created Android Project but then I immediately get information that there have been errors.
Warning:(22, 12) Dependency on a support library, but the SDK installation does not have the "Extras > Android Support Repository" installed. Open the SDK manager and install it.
But I installed it, it was installed at the installation of Android Studio. I created another project and it happen again.
This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.
For me it was a very silly error and I spent the last two days trying to get around this. The path to the SDK in local.properties file was not properly escaped.
Change this:
# Location of the android SDK
sdk.dir=C:/Android/sdk
to this:
# Location of the android SDK
sdk.dir=C\:/Android/sdk
Refresh the gradle again.
When you download Android Studio you have 0.5.2 version,There is a solution is to downgrade exactly to 0.5.4
and download from here : Android Studio 0.5.4
after download the file just drag and drop in the place where you installed Android studio 0.5.2
Unfortunately, this bug appears to have resurfaced since it was last fixed. I have filed a new bug report to track it:
https://issuetracker.google.com/issues/37592307
Please "star" the bug report if it's affecting you.

MapWithOverlaysActivity - Could not determine $(TargetFrameworkVersion)

I have downloaded Xamarin Studio and am trying to use the MapsAndLocationDemo3 sample with the MapWithOverlaysActivity project.
I am getting the following error:
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine $(TargetFrameworkVersion) for API level '19.' (XA0000) (SimpleMapDemo)
In the Android SDK Manager I have installed all the options for Android 4.4 (API 19) as well as the Google Play services.
Can I please have some help to get this sample working?
Thanks
Hopefully you've figured this out by now since it was posted quite some time ago.
I had this issue this evening. I was able to resolve it by opening the .csproj file in something like Notepad++, changing AndroidUseLatestPlatformSdk from True to False, and rebuilding. If your issue is the same, hopefully this will help.
Uninstalling my existing Xamarin.Android and reinstalling the latest fixed the this issue for me
Ensure that you have the correct version of the SDK installed.
In Xamarin Studio, go to the project options and click on General. The Target framework field should show the version of the SDK that will be used to build the project.
If the SDK is not installed, the field will have something like Android X.Y (not installed). From Xamarin Studio go to Tool > Open Android SDK Manager and make sure that you installed the required SDK.

Android Studio Issue on Mac

I am using new android studio .when i download and install it there was no issue. But now when i try to create a new project it's show this error
Your Android SDK is out of date or is missing templates.
Please ensure you are using SDK version 22 or later.
As you know the latest SDK version is already bundled with android studio .I tried re-installing android studio still that error exist.
But it works fine while importing a project or opening an old project. I am facing this only during while trying to create a new project
Somebody help me to resolve this
Note : Im using Mac 10.6.8
EDIT : Screen Shot
I check my SDK manger which is bundled with android studio It's showing i'm using latest version
I've occurred this problem, what I did is.
On Main Menu, Click, Configure
Click Project Defaults
Click Project Structure
In Platform Settings > SDK, Choose the Build Target. Restart the IDE.
I can't comment (Low reputation) but have you tried checking the android sdk manager? See if anything is outdated or missing in tools
Then follow the answer above me, or check module settings > Dependencies > Module SDK and verify that it's android 4.2.2

Categories

Resources