Android studio having issues with android sdk - android

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

Related

Android studio sdk not being downloaded

Hello i have downloaded android studio recently and got a little problem .
After following the intallation it appeared that i don't have an sdk
I opened sdk manager and it says
The Android SDK location cannot be in the filesystem root
I clicked edit and chose a location to download sdk but it says
Nothing to do! Android SDK is up to date. SDK emulator directory is
missing**
And whenever I try to create a project it says
SDK Problem.Your Android SDK is missing, out of date or corrupted.
Can you please tell me why am I getting this ?
And how can I solve this issue ?
Just use hostname:8080 as your proxy settings

SDK Manager - Android studio 2.3.2

I have no access to sdk manger. There are nothing in: android studio -> tools. 5 options there, but no option 'android' or sdk manager. And also I cannot find sdkmanger.exe file in sdk folder. I'm looking for answers but I can find nothing at all. Please help.
Solved.
I've installed some previous version and its working. Don't know why...
in Android studio 2.3.2
Sdk manager is Deleted !
So For access , you Can Test This Directory :
Tools > Android > SDK Manager !
after That You Have SDK Platform , SDK Tools , ..
Tabs ..
You Should Click On Show Package Details .
So Yo Can access To All Packages You Needs ..
See The Photo
Good Luck :)
download android SDK from external site here
extract it and configure a path to android studio using SDK Manager
refer this link for more details

SDK manager can be same for both android studio and eclipse?

I am using Android Studio and i want to install eclipse for a while, can i use the same SDk path for both? Can anyone help me.
Thanks in advance.
No problem you can use the same SDK path , it will not affect eclipse and android studio
First you have to set up a common SDK, for example put your SDK folder at the following location C:\Android\sdk
Link SDK in your Android Studio, go to File->Project Structure->Android SDK and point the C:\Android\sdk in Android SDK location.
Link SDK in your Eclipse ADT, go to Eclipse->Preferences->Android and change the SDK Location to C:\Android\sdk
*Restart both Eclipse and Android Studio

Installed SDKs not found in eclipse

I have installed Android SDK from 2.1 to 4.0 and i have worked with Android Projects. But now all the projects throwing exception like sdk not found... While checking SDK wizard, nothing SDK is installed. Am i deleted any files?
After Installed SDK:
But now Except tools no sdk is present
Restart your IDE then go to preferences and make search for SDk folder (i think that must be in Eclipse folder) set SDk path it will work ..
I think it happens with you because you do not specify you SDK path in preferences -> Android
hope this explanation works for you..

Android ADT error, dx.jar was not loaded from the SDK folder

I just downloaded Eclipse Galileo and installed ADT10 and tried to a phonegap app using this guide: http://www.phonegap.com/start
But each time i try to build im getting this error:
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
I know that there are already some questions/answers about it in this forum but they didnt work for me.
This is caused by incomplete/messy upgrade to latest version which results in dx.jar missing from {Android SDK dir}\platform-tools\lib\.
Solution:
Find your latest dx.jar in {Android SDK dir}\platforms\*
and copy it to:
{Android SDK dir}\platform-tools\lib\
Restart eclipse, clean your project and everything should work as expected.
(If platform-tools\lib directory is missing entirely you will have to reinstall "Android SDK platform-tools" using SDK manager. After reinstall dx.jar should be in there so no copying will be needed)
If you can't find dx.jar in any of {Android SDK dir}\platforms\* subdirs you will have to start SDK manager and install Android 1.6 SDK.
For example on my machine latest was in {Android SDK dir}\platforms\android-4\tools\lib\.
(I did not find any newer version as of 2012-01-22 Android SDK R15).
I really hope that this is useful for someone because I've wasted half a day investigating and looking for solution of such a trivial bug... :-(
platform-tools\lib folder was missing after upgrade (my eclipse was open).
close eclipse, using sdk manager uninstall and install "Android SDK platform-tools".
I just encountered the same problem yesterday, in Eclipse of Neon Release (4.6.0).
It's a compatible issue related to 26.0.0 of android-sdk "build-tools".
Simple Solution:
Delete "26.0.0" in "build-tools" directory
Use "25.0.2" instead
Restart eclipse
Other Solution:
add this in the project.properties of your project:
sdk.buildtools=25.0.2
Good luck!
I had this problem in Eclipse since I upgraded from build-tools 25.0.0 to 26.0.0
I just add "sdk.buildtools=25.0.0" in my project.properties and it works again
my project.properties:
target=android-23
sdk.buildtools=25.0.0
android.library.reference.1=../design
I was running Eclipse Neon.2 and the Android SDK Build-tools + platform-tools version 26 on Mac OS 10.12.4 and none of the above answers (including the accepted answer) worked for me.
What did work was to
Quit Eclipse
Remove the folder <android-sdk>/build-tools/26.0.0 and to install the (older) version 25.0.3 of the build tools through the Android SDK manager.
Start Eclipse again
It happened to me, either, and it happens because I've changed to win7, and install the latest ADT to eclipse, but I used my old Android SDK. Finally, I fix this problem by updating my Android SDK to the latest version.
For me, eclipse was looking in the wrong place for the SDK Manager. To fix this I did
Window/ Preferences/ Android/ SDK Location
NOTE: The SDK manager tells you what dir it is using near the top of the UI.
I had installed a new version of eclipse that has the ADT bundled up from the Android developer site, but when I opened eclipse it was looking at the old SDK.exe location.
hth
I haven't seen this specific problem, but you may get better results with Eclipse Helios or Indigo. Galileo is getting old and is unlikely to be tested as much as the more recent Eclipse platforms.
sometimes you need just to restart Eclipse after the update, it worked for me to fix that error
Also, make sure that the version of the ADT is supported by the AndroidSDKTools. That fixed my problem. In the SDK Manager, File->Reload will lead to the latest revisions.
Try using Eclipse Indigo: http://www.eclipse.org/downloads/ and follow the instructions on how to install Android ADT from: http://developer.android.com/sdk/eclipse-adt.html
Windows 7 64 bit, Intel i7
This happened to me as well after I updated the SDK to be Jelly Bean compatible. The folder platform-tools\lib was gone. I also wasn't able to uninstall/reinstall the program-tools in the SDK manager at first. It gave me the error that a particular file in the android\temp folder was not there. I had to change the permissions on the android folder to allow every action, and that solved it.
Even after reinstalling "Android SDK platform-tools" in my UBuntu-16.04 LTS problem persisted.
I am using Eclipse-Oxygen.
Copying dx.jar from /build-tools/25.0.3/lib into /build-tools/26.0.0-preview/lib solved my problem.
Updating Android SDK platform-tools with the Android SDK Manager and restarting Eclipse did it for me
If you have updated the ADT tools and also SDK platform and you see the above error, restart Eclipse.
Unzip the updated Android SDK in your current SDK folder. This solved my problem.
It's work for me do this
Delete "26.0.0" in "build-tools" directory
Use "25.0.2" instead
Restart eclipse

Categories

Resources