You are not logged in.

#1 2010-01-31 17:30:24

BlueF
Member
Registered: 2010-01-31
Posts: 12

Problems installing android adt in eclipse

Hi,

I've been trying to install the android-sdk on my Archlinux 64-bit with openjdk. I followed the instructions from http://developer.android.com/sdk/index.html#quickstart and used the aur/android-sdk package.

Everything went well, but when I installed die ADT-Plugin for Eclipse (3.5.1) and restarted it, nothing changed. There is no "Android"-chapter in Windows->Preferences and also no possibilty to create an android-project.
The emulator works fine and I was also able to download and install SDK-Platforms with die Android SDK and AVD Manager. So it can't be a problem with openjdk.

Has anybody an idea?

Offline

#2 2010-02-01 05:36:26

timbosa
Member
From: Australia
Registered: 2007-02-25
Posts: 21

Re: Problems installing android adt in eclipse

Couple of thoughts,
1. might be a problem with openjdk, you could try using jdk instead.
2. doesn't eclipse have a plugin manager that you can install android from - maybe try that instead of the AUR package. http://developer.android.com/sdk/eclipse-adt.html

Offline

#3 2010-02-01 07:15:32

BlueF
Member
Registered: 2010-01-31
Posts: 12

Re: Problems installing android adt in eclipse

1. might be a problem with openjdk, you could try using jdk instead.

I tried it with jdk instead of openjdk but got same problem.

2. doesn't eclipse have a plugin manager that you can install android from - maybe try that instead of the AUR package. http://developer.android.com/sdk/eclipse-adt.html

I installed the android-adk with the plugin manager of eclipse according to http://developer.android.com/sdk/eclipse-adt.html! Only the android-sdk package was from AUR.

Offline

#4 2010-02-10 19:18:42

Smeagol07
Member
From: Poland
Registered: 2006-12-09
Posts: 8
Website

Re: Problems installing android adt in eclipse

What is your's workspace directory? I had same problem, but when i change workspace dir to /home/myuser/workspace (default) its work ok, but don't if i change it, this is strange.


..:: Co nie moze zabic, to wzmocni ::..

Offline

#5 2010-02-27 22:59:06

blackz
Member
Registered: 2008-06-15
Posts: 10

Re: Problems installing android adt in eclipse

Any update on this?  I have a similar problem, but with the Groovy-Eclipse plugin,
Installs ok, but after the restart there is not signs of Groovy options anywhere.

Update:
It seem it some kind of file permissions problem, as root the plugin installed ok and
after restarting eclipse it was working ok. So i changed the group for the eclipse installation
directory (/usr/share/eclipse) to "users" and gave it 0774.

Then started eclipse as regular user and installed another plugin, it worked.
Maybe is not the best solution but works for me.

Last edited by blackz (2010-02-27 23:51:22)

Offline

#6 2010-02-28 14:08:58

Frimkron
Member
Registered: 2010-01-21
Posts: 6

Re: Problems installing android adt in eclipse

Changing the permissions appears to have solved this problem for me, too.

For everything in the eclipse installation directory I set the group to "users" and granted write access. Now I can install plugins via the update manager as my normal user without all plugins disappearing.

Thank you so much for that one blackz - it seems so obvious in retrospect but I'd been tearing my hair out over this all day yesterday.

Perhaps the eclipse package should have an installation note to inform users that they need to change the permissions in order to use the update manager. I've also added a comment to this open bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=294535

Offline

Board footer

Powered by FluxBB