I installed android eclipse galileo, and also downloaded android SDK. while installing AD`, I chose
Help->install new software->Add
I enter android and the location as https://dl-ssl.google.com/android/eclipse/ but I don't see any package names etc. in the available-software dialog (I am supposed to see 'developer tools', correct?).
I tried with http instead of https, but still the box is empty. What am I missing?
I sometimes have the same problem but it's only a eclipse bug. A work around would be to resize the dialog. Maybe this could help you too ;)
Also, if you're using Ubuntu Karmic, there's a change in the GTK libs that breaks buttons in Eclipse. There's a workaround at http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/
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...
I've installed the latest JRE, eclipse and I have the ADT plugin installed in eclipse. Somehow the android tools don't show up in the window. Instead, there are blank spaces where it should've been. Any help would be appreciated.
Thanks
Switch to the Java perspective (you are currently in the 'Resource' perspective): Window->Open Perspective->Java (you may need to select from the Other dialog box).
If you don't see Java as an option, you may have downloaded Eclipse classic, rather than Eclipse for Java Developers.
Could you try to close and restart eclipse ? Also, make sure you have the sdk plugin installed correctly.
Is the Android SDK properly installed?
Was Eclipse restarted after that?
You can also download a Android Developer Bundle that contains all what you need (Eclipse, ADT) except JDK.
What could be happening is that your buttons are simply not visible, it's just matter of adding them to your toolbar. Just right click on your toolbar and hit Customize, On the Tool Bar Visibility tab make sure Android SDK and AVD Manager is selected. That should do the trick.
I went through all the steps on the android dev site, installed all the SDKs, and when I start a new android project or go to android preferences the list that's supposed to show the SDKs is empty. I have the SDK location pointed to /android-sdk-mac_x86 and it looks like every things there. Am I missing a step maybe?
Try doing a fresh install. This should fix your problem. Sometimes eclipse will bug out and create problems.
Doing a fresh install usually solves this problem for me and people i know.
When you install the SDK you need to open the SDK Manager and download all the version you want to work with.. by default it doesn't include any.
I think the problem is due to the fact that you didn't install the Eclipse ADT.
The SDK is one thing (and it is not linked to Eclipse), you have then to link the SDK to Eclipse.
Quite easy and very well explained here:
http://developer.android.com/sdk/eclipse-adt.html
I hope this helps.
it is the problem we face many time in eclipse.
to solve this problem you need to Clear your cache and reload.
just follow below given step
open AVD manager
The clear-cache button is in Tools > Options.
and reloading is Packages > Reload in the SDK Manager.
also seled first check box in other category which force https insteam of http.
restart AVD and Eclipse
I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such.
Someone posted a fix to this that includes setting the permissions of Eclipse, but that didn't work for me. I tried installing the Android Plugin from both online installation (thru the URL install) and the offline Archive method.
If you're running Windows Vista or 7, make sure you right-click Eclipse and RUN AS ADMINISTRATOR. I literally spent six hours figuring this out, and this was what fixed it.
Dear people from the future:
I had roughly the same problem in linux, except that i didn't see anything at all but vanilla eclipse after installing. by combining both previous answers i got it to work:
start eclipse with sudo eclipse -clean, install the plugins and restart eclipse. the plugins showed up including the welcome screen that's supposed to be there.
after that it should work when running as regular user as well.
works for both the android sdk and the gwt sdk. (and probably other eclipse plugins)
Remove the plugin, then restart as follows:
eclipse -clean
Now try reinstalling the ADT from the online installation
For users having similar problem and not luck with other solutions:
I have windows XP but had same problem. I realized that I had JDK5/bin folder in my PATH environment variable (though my JDK_HOME was pointing to JDK6), as soon as I modified the PATH to replace bin of JDK5 with JDK6, the Android buttons on eclipse (after restart with -clean) along with Android option in Preferences & New Project showed up. (Weird eh!)
Also, consider to install the bundle android installation having eclipse with pre-configured Android SDK if a new eclipse installation doesn't matter to you
http://developer.android.com/sdk/installing/bundle.html
The above answers do not confront the heart of the problem. There is a feature in Windows 7 that prevents downloaded files from direct access of local files. All of the state is perfectly maintained in the Eclipse workspace instance. The problem is easily resolved by doing the following:
Find the "Eclipse" executable
Right-click on it.
Click "Properties".
Select the "General" tab.
Look for -> Security: "This file came from another computer and might be blocked..."
Click Unblock.
This is a much better solution than uninstalling and reinstalling the ADT or Eclipse which can be a pain.
I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error.
Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found
I am running Kubuntu 9.10 and Eclipse 3.5. I have managed to get the Android DDMS to install. But I keep running into blocks with the Development Tools. I have the Android SDK installed.
What do I need to do in order get the missing component?
Ran into the same problem, and after a bit of searching, I found this:
http://code.google.com/eclipse/docs/faq.html#wstinstallerror
It looks like fedora ships with the official eclipse repository disabled by default. (was true for me on fedora 12 64bit) You need to go to Help->Install New Software, click on the "Available Software Sites" link, find the official repository in the list, and enable it.
I never use Eclipse classic as ADt requires wst..install eclipse j2ee or modeling to fix missing components
I ran into this when I did not precisely follow the order of the installation instructions. Delete your eclipse install and reinstall, run update until it doesn't find anything new, then install the android plugin checking the box that says to search all sites for required packages. It should clean it right up. You'll still need to do all the configuration in the developer.android.com instructions for installation.
Had the same issue.
I had to add the plugin for (in my case) galilio, by adding
http://download.eclipse.org/releases/galileo in the install new software tab,
then selected each of the WST packages (the xml one alone didnt resolve it).
They were listed twice (same version, different checksums), so I choose the first of each.
HTH,
Stuart
I was having this trouble for a couple weeks then i noticed my Anti-Virus icon (AVG) kept popping up beside my clock when i normally have it hidden.
I disabled my anti-virus and the web link scanner and tried again.
Worked fine.
Hope it helps.