First of all, I'm a student that wants to work with Android for my internship. Here is a link about my upcoming question, but he did not get a good awnser yet: Unable to Install Platforms for Android SDK r15
After reading some about android I started the download and install. I got a SDK manager and a AVD manager. Got eclipse etc too. But no SDK and AVD manager like I see everywhere on the internet. I searched everywhere and I can install some things manually, but that isn't handy.
So with my SDK manager I cannot download the platforms I want. Maybe I need to download an older reversion of the SDK, so I get the SKD and AVD manager instead of seperated.
Please take a look at the link. Sorry for my bad english, it's not my native language.
Anyone got a solution for downloading the platforms/Google USB driver/etc.. in the SDK program itself?
Thanks in advance
when you installed the SDK manager into the eclipse with a install new software method as spefified in the android developer installation files.
Downloading the ADT Plugin
Use the Update Manager feature of your Eclipse installation to install the latest revision of ADT on your development computer.<>
Assuming that you have a compatible version of the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to download the ADT plugin and install it in your Eclipse environment.
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
after that ... you can can install the SDK from this link... now in the eclipse open the preferences --> Android. specify the path to your SDK root directory... that is it... now press the ADT plugin icon and then you can download any version you want...
UPDATE:
i think the version of eclipse is quite wrong it is better and safer to install the eclipse classic version... the jdk can be decided upon what is you base system. once you have the JDK as 32 or 64 bit download the appropriate eclipse classic version(almost every one does it except with really specific java development{which can be installed/customized any time later}) and helios or indigo i don't think that would matter ... until and unless the ADK supports it. Everything is taken care of by it.
Related
I'm trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can't find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn't exist). Where is the SDK installed and what is required to set it up?
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won't let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the "complete" (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the "ide" in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place...: android-studio-bundle-162.3871768-windows.exe
Note that this last one has the "bundle" in the file name.
Please, download the bundle (IDE+SDK) from here:
https://dl.google.com/dl/android/studio/install/2.3.1.0/android-studio-bundle-162.3871768-windows.exe?hl=ko
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.
Hope this helps!
It worked like this for me
Downloaded the Android Studio
Install Android Studio
Open Android Studio after installation.
You will get a dialog box to import settings if you already have Intellij installed on your machine. Say "Do not Import". Otherwise continue to next step.
It will ask you in the dialog box to pre-configure such as theme, path etc.
Just click next next...and then Finish. You will see the SDK tool will start downloading.
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then
File -> Manage IDE Settings -> Restore Default Settings
This will wipe any custom settings you don't have at this point and trigger the SDK install
What Pablo wrote is misleading.
This is the "complete" (false!) tool I have just downloaded:
android-studio-ide-171.4443003-windows.exe (SDK is missing here, note
the "ide" in the file name).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3 in the trash and restarted ./studio.sh, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty.
after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...
Recently I've encountered following error :
The strangest thing is that I've just updated some package from sdk via working eclipse. There was no information or warning that after this update current adt will crash. I've checked latest updates and can't find new adt even on google's page. Even new adb contain old adt.
From http://developer.android.com/tools/sdk/tools-notes.html:
Dependencies: Android SDK Platform-tools revision 18 or later. If you
are developing in Eclipse with ADT, note that this version of SDK
Tools is designed for use with ADT 22.6.1 and later. If you haven't
already, update your ADT Plugin to 22.6.1.
The only solution is to download new standalone eclipse and external plugin for it?
Does the android studio face the same problems?
Environment: linux x64.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the
Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
I reported this bug yesterday. Solution is to use Help -> Install new software option with httpS:// protocol (s is important). No special downloads or re-installations is needed, just choose the right update site.
The problem is that the default update site in Android ADT is
http://dl-ssl.google.com/android/eclipse/
but this site don't update correctly
And the solution is add a new Install site with protocol https
https://dl-ssl.google.com/android/eclipse/
Click in Help->Install New Software->Add
And use this site to update ADT
Issue : https://code.google.com/p/android/issues/detail?id=67325
To solve this problem, here I have covered steps, surely it will help you.
Please follow these steps:
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https:// If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says "this software is already installed, an update will be performed instead". Clicking ok will lead to 22.6.1 being installed.
Update 27/03/2014
They released 22.6.2 and fixed this issue so update your ADT to new version.
You can see this thread : Cannot update from ADT 22.3.0. to 22.6.1
You can go to Window->Android SDK Manager and check tha what version you have.
In my case it shows I already have toolkit 22.6.1 installed but still get the error. Whether you already have it or not, you can do the following to fix.
Go to Help->Install New Software... In the dialog shown below, click on 'Add' button on the top right side.
Paste "https://dl-ssl.google.com/android/eclipse/" in Location. You can name it anything.
Click Ok and follow the dialog by clicking Next.
If prompted with a message sasying you already have it, just agree so that it gets updated (or installed if it wasn't there).
This should resolve the issue.
source : http://codewriterstips.blogspot.nl
if your android sdk is to old . you must download new android sdk in developer.android.com and , copy past some nececary folder on it .
I have installed adt version 22.6.1 already 2 days ago. It was working fine. Suddenly, When I open eclipse today, it keeps showing me following error:
This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is 22.2.1.v201309180102-833290. Please update ADT to the latest version.
Here is screenshot of my eclipse's Android SDK Manager :
I tried with following steps to resolve my issue as discussed in this Link
Help | Install new software
Select the ADT update site (there are two, one with http:// and one with https://. If one doesn't work, try the other.
Select the developer tools section and press next.
You should see a dialog that says This software is already installed, an update will be performed instead. Clicking OK will lead to 22.6.1 being installed.
But unfortunately it didn't work for me.
Here is a screenshot I am attaching which shows the error I am getting while updating the tools.
How can I get rid of it?
I have solved this issue yesterday.
Follow the steps :
Help -> Install New Software -> Add -> (Give any name suppose NewUpdate) -> add this url : https://dl-ssl.google.com/eclipse/plugin/4.2 -> OK
Now it will list the available updates, which should ideally be adt 20.x.x
Select the list items Let it be installed. Eclipse will restart and Its done.
I hope this will helpful for you :)
Yet, if someone is facing this issue, Then follow steps below:
download new stand alone SDK from android's developer site
Close eclipse if it is opened and copy new downloaded sdk in the same location where your already existing old sdk is. Must replace conflict files and keep rest.
No need to delete old sdk. Copying as in step 2 will update your Android Developer Toolkit version to 22.6.1 or above which is required and will keep already downloaded APIs.
Now start your eclipse, and the error will be gone forever. :)
if someone will have trouble doing so, leave me a comment, will try to guide.
I managed to resolve it by doing the following:
Downloaded latest ADT (Win x64)
Deleted my old ADT install (It got bugged when I simply tried to overwrite the existing files) - see this google issue
Copied the zip file to C:\ (since it was complaining about too long filenames while unpacking)
Unpacked to my ADT install folder.
Ran updates and SDK manager updates.
Now it's working, but I lost my pretty Eclipse theme. Oh, and the target adt is not being resolved, a problem for another topic.
Just delete the existing ADT and install new version of ADT.generally this problems occurs
when you update SDK using below link.
https://dl-ssl.google.com/android/eclipse/
The ADT Bundle on developer.android.com seems to me as out of date.
I fixed the same problem by downloading eclipse (Java EE was my choice, but you can choose your flavor) and Installing the Eclipse Plugin
this steps solve my problem:
go to Help -> Install New Software.
in the bottom box, click What is already installed? text.
then you will see Eclipse Installation Details box, please Uninstall all conflicts software, in my case I uninstall the following software:
Android DDMS
Android Development Tools
Android Hierarchy Viewer
Android Native Development
Android Traceview
Tracer for OpenGL ES
when uninstall complete, please restart your Eclipse.
after your Eclipse open, please follow again these steps:
go to Help -> Install New Software.
in Work with box, select or add {ADT Plugin - https://dl-ssl.google.com/android/eclipse}.
then check all available software.
click Next > to install newest software.
I hope this helps you :)
I use OSX and facing the problem for 2 days.
I solved the problem by following the steps below:
-Download ADT Bundle from https://developer.android.com/sdk/index.html
-Help -> Install New Software
-Write https://dl-ssl.google.com/android/eclipse/ then install Developer tools
-Restart eclipse and raised the error below:
Android SDK content Loader has encountered a problem.parseSdkContent failed
java.lang.NullPointeException
-Delete .android folder under user profile. Restart eclipse
No errors and 22.6.1 is installed.
For those who tried everything but didn't get any positive result. I did the following and it worked:
Uninstall the ADT by helping from following link:
Uninstalling Android ADT
Now you can follow the install new software to add ADT to your eclipse. This way you won't get any conflict since you uninstalled old version.
I currently have Eclipse and ADT installed in the same directory as
F:\eclipse
\eclipse\
\sdk\
I downloaded and installed the latest ADT to
C:\Users\Rick\AppData\Local\Android\android-sdk
I then copied the contents of the C:\Users\Rick\AppData\Local\Android\android-sdk into the F:\eclipse\sdk\ folder, and let it merge all folders and overwrite everything.
Now I have 22.6.1 and I don't have to re-download all the platform stuff again.
Today me and one of my friends faced the same problem, so I have tried many things like restarting eclipse, checking updates, etc. but none was working for me.
Then I found a solution from Here and it's working as a charm for me and also for my friend.
Follow the steps here:
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for
the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next. Read and accept the license agreements, then click
Finish.
If you get a security warning saying that the authenticity or
validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
The "Install new Software" under help in Eclipse will NOT work because it conflicts with ver#22.
I just downloaded the new Eclipse bundle from:
Get the Android SDK - google site, extracted it in a new folder ant it is done.
It is working smoothly, no problems.
Few tips to save you time:
Backup your workspace (just in case) - personally didn't use this back.
Once you open the new eclipse.exe it will ask you to select a workspace - just brows to your ols workspace and it will import all your projects (no problems).
In order to save time of download and install of the SDK again, I Cut & Paste the OLD SDK library from the previous bundle directory to the new one (Close your new Eclipse first).
When you re-open Eclipse, you may receive an error message saying that Eclipse can't find the SDK directory. It will ask you to open "Preferences". Once open, browse to the new SDK directory (the one that you just copied). Doing this will save you hours of re-installing all the SDK updates that you did on the previous Eclipse.
Have fun, it is really not a big deal.
Im having trouble installing Eclipse to develop Android apps. I have installed the android-sdk-windows as well as Eclipse Juno (running on Windows 8).
When I start Eclipse I get the message "This version of ADT requires Android SDK Tools revision 21.0.0.rc9 or above. Current version is 15.0.0. Please updaye your SDK tools to the latest version"
I then open my SDK manager, and select to update and install the package. But I get the error messages as per the images below
Can anyone please help with this as its driving me crazy. I have looked on here for solutions but a lot of the explanations get very technical or skip "obvious" steps and I get stuck. I have installed and unistalled a number of times, but no luck. I have manually tried to change the filename as per the second error message but it says the file is in use so I cant rename it. I have closed all internet explorer applications when trying this, as well as disabling Norton antivirus, but still no luck.
Make your download from this link Get SDK. It have the IDE Eclipse and the installation of the SDK already configured. Maybe this help you..
Exit Eclipse while having the SDK Manager open. Then press Yes. I think this is the problem.
You don't need to download sdk or other stuff. following steps
Pre-requestries : Install Jdk and setting the JAVA_HOME and install eclipse
Start Eclipse, then select Help --> Install New Software
Click Add, in the top-right Corner
In the Add Repository dialog enter "ADT Plugin" for Name & the following URL for Location
https://dl-ssl.google.com/android/eclipse/
Click OK
In the available software dialog check the Developer Tools and click, Next.
Read the license and accept it.
That it. Finish.
Hope you got the way.
i am a student in africa and in our land, there actually exist slow and expensive internet connections, which is why we tremble in fear whenever we hear the word "online repository" method of installing software. Damn, that usually means you have to look elsewhere.
The problem.(i cant install android without connecting eclipse to the internet)
It is possible to manually download individual components as .zip files but there is no way of installing them into android eg i have managed to download
platform-tools_r03-windowsandroid-sdk_r10-windowsetcbut no matter what i do, i can't get android to recognise them as components. It seems tens of thousands of other developers have a similar problem (see below)
This qn has 10k views(meaning 10k people had a similar problem)
another lost developer
webpage sudgesting solution that failed to work on windows seven ultimate
If someone has actually ever installed android without connecting eclipse to the internet, please let us know the magic you used. Thanks in advance :)
EDIT:
if someone out there is still interested check out http://qdevarena.blogspot.com/2010/05/download-android-sdk-standalone-for.html
and make sure your folder structure is as shown in http://developer.android.com/sdk/installing.html
For SDK and platform tools you can just extract the zip content, Eclipse has nothing to do here.
For Eclipse ADT plugin:
Download the zip file from http://dl.google.com/android/ADT-10.0.1.zip
Help -> Install New Software -> Add
Select Archive and then provide the location of the zip file
These steps are clearly explained in Eclipse ADT documentation.
Only in Windows
Install (if not installed) Oracle JDK jdk-7-windows-i586.exe
install Eclipse SDK
Add to the PATH environment variable the path to the JDK (for example c:\Program Files\Java\jdk1.7.0\bin)
Edit the file hosts (c:\WINDOWS\system32\drivers\etc\hosts), add the entry "127.0.0.1 dl-ssl.google.com"
It's important! Port 80 must be free at the time of installation Android SDK
Run the Abyss Web Server X1 (abyssws.exe). Works best if you download a fresh copy
Run the Android SDK "SDK Manager.exe" installer
In the "Android SDK Mannager" in the menu "Tools" >> "Options" put the check ("force https:// ... sources to be fetched using http:// ...")
Android SDK Manager will fetch packages in your computer. Choose the packages for API you want to program against, select and install packages
After installation the file hosts (c:\WINDOWS\system32\drivers\etc\hosts) entry "127.0.0.1 dl-ssl.google.com" you entered in step 3
Good Luck!! and remember to update to lastest APIs and revision
You can download Eclipse ADT and install
IN Eclipse: Click Help tab and Install New Software tab
Click add button
In Add Repository Window, add in Name Field Eclipse ADT and Location field click archive to browse in local machine where you downloaded ADT
Press Ok and tick all, Eclipse will install the less
The answer by dtmilano is not valid for the current version of android SDK. (androdi 4.2.2)
The android website says that after the unzipping of the ADT:
Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android platform to your environment. To get these packages for your SDK, continue to Adding Platforms and Packages.
http://developer.android.com/sdk/installing/installing-adt.html
Instead, try
http://qdevarena.blogspot.in/2010/05/download-android-sdk-standalone-for.html
as mentioned by
Installing android SDK in eclipse offline
I'M a Ghanaian..I did it about a week ago on ubuntu it might work on windows
your question indicates that you have eclipse installed..so i will just move on to setting it up to run android apps ...
step 1: go to developer.android.com to download the sdk for windows(i recomend you download the one with the installer).
step 2: launch ur favourite browser and open this site.
you will see an xml page using ctr+f (any shortcut for finding a text on your browser) type andoroid 2.2 or any android version you like latest is kitkat 4.4...you will find ur prefered android version in zip file for ur OS i.e windows...just copy the text and append it to this address.
this will download the the platform for you in .zip format....just navigate to where you extracted ur sdk and go to platform folder and then create a new folder with any name and then extract the platfor you downloaded earlier i.e android version into the new folder you created...just launch the sdk.exe and it will auto detect your platform for you...
just go and creae your Android virtual device and start running your apps..