Android sdk error not found at the specificlocation - android

I installed the xamarin studio and other components and after installing the sdk for it says that the android sdk not found at specific location.
I tried both zip and exe from the following url but in vain.
http://developer.android.com/sdk/index.html
thanks
adnan shahid..

Install android studio and then point the sdk towards the sdk that comes with android studio solved the problem in some cases when there is problem with downloading android sdk from the site or missing some files.

Related

Android studio having issues with android sdk

I have installed Android studio 3.3.2 on Mac. By mistaken I have deleted sdk folder located on Library/Android/sdk . Now I have uninstalled android studio and installed it again but now its not downloads android sdk again and pointed to old path and later it giving me error like Nothing to do!
Android SDK is up to date.
SDK tools directory is missing
Please help me out how to resolved this issue .
Thanks in advance !!]1
Go to # your directory and create the SDK folder manually. This will fix the stated problem.
C:\Users[account]\AppData\Local\Android\sdk
Update : download SDK
goto settings>Appearance & Behavior>System Settings>Android SDK and download the required sdk

Error for SDK tools Android Studio

I've started to learn to make Android apps recently but I've faced a problem in launching Android Studio!
I downloaded android studio and also downloaded SDK tools from here ( I downloaded them separately ) and when I give SDK path to the Studio, it installs SDK successfully but when the project opens, it says that some Android SDK tools are missing!
Error :Gradle sync failed: Failed to find target with hash string
'android-26' in: E:\android-sdk
I'm confused because I can find no problem in my downloading and installing but there is an error!
What should I do?
install android studio and sdk also( not separately) then create a new project and build them, and if it work then, you can move your sdk file and then connect the path your sdk.
i think you tried separately and some how any data are being missing .

Android sdk is said to be installed while installing android studio, but there is no such a Android file in /Library

I am installing Android studio on Mac and it says there is no sdk file found. Once I proceed, it says android sdk installed and it's grayed. but there is no Android sdk file.
Here is a screenshot:
Okay I just found that I am from Iran and google has been blocking us . That was the reason, if you ever faced this problem you just need to activate your VPN.

Can't access Android SDK manager in Visual studio 2015

I started few days back to learn android programming. I tried to use Eclipse and Android studio but I faced many problem (configuration) so I decided to develop android apps using XAMARIN/VS2015. I installed xamarin (android) but not android sdk manager because I installed it before using android studio. The problem is that I do not know how to link VS2015 to the previous android SDK manager already installed. Can anyone help me??
I know the folder where the sdk is unzipped in. It is even set in VS2015 but I have not idea why it is not working.
The following screenshot shows it clearly:
Thank you
You need to link your sdk, not your adb.exe path.
I have this path for sdk:
C:\Users\myusername\AppData\Local\Android\sdk
You also can see this guide:
https://docs.elementscompiler.com/VisualStudio/Setup/AndroidSDK/

Xamarin - disconnected from layout renderer

I just downloaded xamarin studio. I get an error message "disconnected from layout renderer please close the file and try again" whenever i open a axml in the layout folder. I can view the source but can't go to the design tab to add controls. Closing the filed does not work.
I'm not sure how to find what version of xamarin.android i'm using but I just downloaded last night. When I go to the SDK manager it tells me my Android SDK Tools are version 23.0.4.
I found this old thread on the same topic. I tried renaming my tools folder and downgrading but that didnt' work either. It told me I need tools of at least version 22.
http://forums.xamarin.com/discussion/14344/disconnected-from-layout-renderer-error-after-updating-android-sdk-tools-to-version-22-6
I've tried uninstalling Xamarin Studio and reinstalling and that didn't help. I do have Visual Studio 2013 with update 3 installed too. But then I also tried installing Xamarin Studio on another laptop with Visual Studio 2012 and got the exact same problem.
Note: this error displays in both Visual Studio and Xamarin Studio.
I really hope I can get this resolved as i'm evaluating Xamarin for 2 companies. Any help is greatly appreciated.
-Randy
The solution is here: http://forums.xamarin.com/discussion/comment/51784/#Comment_51784
Only this time, you need to downgrade from 23.0.4 to 23.0.2.
Just found this out the hard way.
Cheers
Thank you Balint! You made my weekend!!! Here is a direct link to the tools version that works.
http://dl-ssl.google.com/android/repository/tools_r23.2-windows.zip
I recently had this same issue when trying to open the main.xaml in Xamarin Studio for Mac OS X. Here are the steps I took to resolve the problem:
Open the Android SDK Manager in Xamarin Studio and delete the Android SDK Tools.
Re-download the SDK Tools from [https://developer.android.com/sdk/index.html?hl=i]. Revision 23.0.2
Make sure the downloaded SDK is unzipped in the path /Users/username/Library/Developer/Xamarin/android-sdk-macosx
Then I launched the SDK Manager from the Terminal using cd library/developer/xamarin/android-sdk-macosx/tools ./android
When the SDK launches, make sure the Android SDK Tools is not selected, else it will update it to 23.0.5 which appears to currently be broken.
After the SDK Manager updates and installs all the packages, re-open Xamarin Studio and go to Preferences -> SDK Locations -> Android and chose the path for the Android SDK.
After following these steps I was able to successfully open the main.xaml files for Android on OS X.

Categories

Resources