Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » android adt installation problem(Can't seem to get the android adt plugin to install correctly...)
icon5.gif  android adt installation problem [message #633959] Wed, 20 October 2010 04:11 Go to next message
Webster  is currently offline Webster Friend
Messages: 5
Registered: October 2010
Junior Member
Okay, this may be an android question and not an Eclipse question...so forgive me.

I have done this and had it work on my desktop, but cant get it to work on my laptop. I have Eclipse version 3.5.2 running on ubuntu 10.10

I'm following the install directions at http://developer.android.com/sdk/eclipse-adt.html

Everything goes fine until I reach the Configuring the ADT Plugin section, when I go to window>Preferences to set the path to the sdk location, Android is NOT listed in the left panel.

Both the Android DDMS (version 0.9.9.v201009221407-60953) and the Android Development Tools are listed under Installed Software, but Android doesn't show in the left panel of the Window>Preferences dialog...

I must be missing something...I'm pretty new to both the android sdk and to Eclipse. And I'm at a loss at the moment.

Any clues?
Re: android adt installation problem [message #634094 is a reply to message #633959] Wed, 20 October 2010 13:51 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.10.19 22:11, Webster wrote:
> Okay, this may be an android question and not an Eclipse question...so
> forgive me.
>
> I have done this and had it work on my desktop, but cant get it to work
> on my laptop. I have Eclipse version 3.5.2 running on ubuntu 10.10
>
> I'm following the install directions at
> http://developer.android.com/sdk/eclipse-adt.html
>
> Everything goes fine until I reach the Configuring the ADT Plugin
> section, when I go to window>Preferences to set the path to the sdk
> location, Android is NOT listed in the left panel.
>
> Both the Android DDMS (version 0.9.9.v201009221407-60953) and the
> Android Development Tools are listed under Installed Software, but
> Android doesn't show in the left panel of the Window>Preferences dialog...
>
> I must be missing something...I'm pretty new to both the android sdk and
> to Eclipse. And I'm at a loss at the moment.
>
> Any clues?

Here's my successful experience:
http://www.javahotchocolate.com/tutorials/android.html
Re: android adt installation problem [message #634125 is a reply to message #634094] Wed, 20 October 2010 15:22 Go to previous messageGo to next message
Webster  is currently offline Webster Friend
Messages: 5
Registered: October 2010
Junior Member
Thanks, I'll take a look at that.

But I might be having a bigger problem. Remember how I said I had been developing on my desktop with no problems?

I upgraded my desktop to ubuntu 10.10 a few days ago and hadn't done any development since then. This morning I started up Eclipse on my desktop to compare its setup with what is on my laptop and found that the android plugin was no longer there...ie the virtual devices had disappeared and in File-New... I no longer have an android project option..

could/did the upgrade somehow screw up the android plugin?

This has brought me to a grinding halt...wtf?
Re: android adt installation problem [message #634128 is a reply to message #634125] Wed, 20 October 2010 15:33 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.10.20 9:22, Webster wrote:
> Thanks, I'll take a look at that.
> But I might be having a bigger problem. Remember how I said I had been
> developing on my desktop with no problems?
>
> I upgraded my desktop to ubuntu 10.10 a few days ago and hadn't done any
> development since then. This morning I started up Eclipse on my desktop
> to compare its setup with what is on my laptop and found that the
> android plugin was no longer there...ie the virtual devices had
> disappeared and in File-New... I no longer have an android project option..
>
> could/did the upgrade somehow screw up the android plugin?
> This has brought me to a grinding halt...wtf?

Ah, sorry. I hadn't understood that you'd done an Ubuntu upgrade. I
wasn't paying attention. You upgraded from 10.4?

Maybe it's as simple as having to re-specify the path to your Android
SDK after re-installing the plug-in (via Help -> Install New Software).
Re: android adt installation problem [message #634149 is a reply to message #634128] Wed, 20 October 2010 15:59 Go to previous messageGo to next message
Webster  is currently offline Webster Friend
Messages: 5
Registered: October 2010
Junior Member
yes, I upgraded both computers from 10.04 to 10.10

setting the path is where I ran into problems in the first place. When I was going through the instructions here I got to the step where it says

Quote:
Configuring the ADT Plugin

Once you've successfully downloaded ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory:

1. Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences).
2. Select Android from the left panel.
3. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
4. Click Apply, then OK.



well, Android isn't IN the left panel...
Re: android adt installation problem [message #634170 is a reply to message #634149] Wed, 20 October 2010 16:15 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.10.20 9:59, Webster wrote:
> yes, I upgraded both computers from 10.04 to 10.10
>
> setting the path is where I ran into problems in the first place. When I
> was going through the
> instructionshttp://developer.android.com/sdk/eclipse-adt.htm l I got to
> the step where it says
> Quote:
>> Configuring the ADT Plugin
>>
>> Once you've successfully downloaded ADT as described above, the next
>> step is to modify your ADT preferences in Eclipse to point to the
>> Android SDK directory:
>>
>> 1. Select Window > Preferences... to open the Preferences panel (Mac
>> OS X: Eclipse > Preferences).
>> 2. Select Android from the left panel.
>> 3. For the SDK Location in the main panel, click Browse... and locate
>> your downloaded SDK directory.
>> 4. Click Apply, then OK.
>
>
> well, Android isn't IN the left panel...

Yeah, that part I understood. So, did you try reinstalling the plug-in
or is it still there (and essentially non-functional)?

If it's still there, I would suggest uninstalling it by Help -> About
Eclipse -> Installation Details, look for the plug-in, select it, then
click Uninstall.

Then go back to Help -> Install New Software and start over.

Your Android SDK should be fine--no need to download it again, I think.

The path to enter into Work with: for the Android plug-in is

https://dl-ssl.google.com/android/eclipse/

(Of course, this is just my stab in the dark to help you; this hasn't
happened to me and I'm now less likely to upgrade to Lucid 10.10 for
having seen this go south on you.)
Re: android adt installation problem [message #634181 is a reply to message #634149] Wed, 20 October 2010 17:21 Go to previous messageGo to next message
Webster  is currently offline Webster Friend
Messages: 5
Registered: October 2010
Junior Member
hey, i figured it out actually

it occurred to me to try running eclipse as root and install them that way. Worked!

It might not have taken so long had eclipse thrown up some sort of error message during the plugin install, but it didn't ... I suppose I would suggest to the developers to inform the user that there's a permissions problem etc... also, it could probably be added to the instructions that to install the plugins you might need to be running it as root.

Thanks for the help!
Re: android adt installation problem [message #634191 is a reply to message #634181] Wed, 20 October 2010 17:47 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.10.20 11:21, Webster wrote:
> hey, i figured it out actually
>
> it occurred to me to try running eclipse as root and install them that
> way. Worked!
>
> It might not have taken so long had eclipse thrown up some sort of error
> message during the plugin install, but it didn't ... I suppose I would
> suggest to the developers to inform the user that there's a permissions
> problem etc... also, it could probably be added to the instructions that
> to install the plugins you might need to be running it as root.
>
> Thanks for the help!

My approach to Eclipse on Linux is wholly user-oriented: local Eclipse,
local copy of Sun JDK, local copy of Tomcat, local Android SDK, etc. I
have never had trouble with the root vs. not root nightmare that I read
about in the forums.

Even though I work on a private host these years, I'm a very old guy who
worked many years on mainframes and minis. It would never occur to me to
share anything so intimately connected with my ability to get something
done with other users or think of paths like /opt, /var or even
/usr/local as belonging to me.

Glad you're back up; maybe the upgrade isn't so invasive after all. I
hope I get the courage to do it, but I had much grief just moving from
openSuSE 10.1 to 10.2 to 10.3 and, since then, haven't considered Linux
upgrades as anything to do before I'm ready to reconstruct my hardware
from scratch. Earlier this year, I did try an upgrade from Karmic to
Lucid in a VM just for grins. It was a disaster; little worked after
doing that--exactly as I suspected.

Russ
Re: android adt installation problem [message #634205 is a reply to message #634191] Wed, 20 October 2010 19:05 Go to previous messageGo to next message
Webster  is currently offline Webster Friend
Messages: 5
Registered: October 2010
Junior Member
upgrading has gotten better and better through the years and my experiences lately with ubuntu/kubuntu are usually pretty drama free.

However, I do think this is more of an eclipse issue than an ubuntu upgrade issue though, since like I said, if it had thrown an error message at me I could have solved the problem immediately. As it was, eclipse's software installer didn't throw an error, and in fact, it listed the Android DDMS and Development Tools as installed.


but yeah...one of these days I'll learn if it ain't broke...
Re: android adt installation problem [message #634426 is a reply to message #634205] Thu, 21 October 2010 16:14 Go to previous messageGo to next message
Bonjo  is currently offline Bonjo Friend
Messages: 1
Registered: October 2010
Junior Member
Hi,

These are good news! I have the same problem trying to install the android plugins to Eclipse from my user account. Can you inform me how can I install the plugins as root and not as a user ?

Thank you!
Re: android adt installation problem [message #665762 is a reply to message #634426] Fri, 15 April 2011 19:04 Go to previous messageGo to next message
Grace  is currently offline Grace Friend
Messages: 1
Registered: April 2011
Junior Member
Thanks for the installing as root hint. Worked for me after having the problem of not seeing android.
Re: android adt installation problem [message #811749 is a reply to message #634181] Fri, 02 March 2012 19:32 Go to previous messageGo to next message
Aishwarya Agarwal is currently offline Aishwarya AgarwalFriend
Messages: 2
Registered: March 2012
Junior Member
Webster wrote on Wed, 20 October 2010 13:21
hey, i figured it out actually

it occurred to me to try running eclipse as root and install them that way. Worked!

It might not have taken so long had eclipse thrown up some sort of error message during the plugin install, but it didn't ... I suppose I would suggest to the developers to inform the user that there's a permissions problem etc... also, it could probably be added to the instructions that to install the plugins you might need to be running it as root.

Thanks for the help!


Can you describe how to install eclipse as "root"? I am struggling with the same problem. I am working on windows 7 and have a folder of eclipse from where I directly run by right clicking on the eclipse.exe file "run as administrator", still the problem remains.

"Android" missing in the left pane of windows->preference in eclipse
Re: android adt installation problem [message #811796 is a reply to message #811749] Fri, 02 March 2012 20:56 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/2/2012 12:33 PM, Aishwarya Agarwal wrote:
> Webster wrote on Wed, 20 October 2010 13:21
>> hey, i figured it out actually
>>
>> it occurred to me to try running eclipse as root and install them that
>> way. Worked!
>>
>> It might not have taken so long had eclipse thrown up some sort of
>> error message during the plugin install, but it didn't ... I suppose I
>> would suggest to the developers to inform the user that there's a
>> permissions problem etc... also, it could probably be added to the
>> instructions that to install the plugins you might need to be running
>> it as root.
>>
>> Thanks for the help!
>
>
> Can you describe how to install eclipse as "root"? I am struggling with
> the same problem. I am working on windows 7 and have a folder of eclipse
> from where I directly run by right clicking on the eclipse.exe file "run
> as administrator", still the problem remains.
>
> "Android" missing in the left pane of windows->preference in eclipse

First, why would you wish to get installed as "root"? On Windows, I
install Eclipse to C:\Users\russ\eclipse\helios, indigo, ... It works
perfectly there, I don't have to (nor want to) run as administrator, and
this never gives me any trouble whatsoever. Similarly, on Linux I put it
at /home/russ/eclipse/helios, etc.

Second, if you're having trouble with ADT features, you should try an
Android forum since ADT isn't an Eclipse thing. If it's missing from
Eclipse preferences, it's because something went wrong during ADT
installation.

http://www.javahotchocolate.com/tutorials/android.html#support
Re: android adt installation problem [message #811805 is a reply to message #811796] Fri, 02 March 2012 21:17 Go to previous message
Aishwarya Agarwal is currently offline Aishwarya AgarwalFriend
Messages: 2
Registered: March 2012
Junior Member
@Russell Bateman

I re-installed ADT plugin from eclipse helios many times! It gave me the same problem! Now I solved the issue by switching to Eclipse Indigo. I posted it here because the thread is about "Android adt installation problem"

Thanks for replying!
Previous Topic:Error A message on eclipse
Next Topic:Periodic workspace table problem
Goto Forum:
  


Current Time: Fri Apr 26 06:17:27 GMT 2024

Powered by FUDForum. Page generated in 0.09199 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top