No Android Project option on Eclipse Juno - android

Alright, same problem as here: "Android" missing in my "Eclipse Juno 4.1" preferences
But in my case, i already had the ADT installed ( i think?)
But, when I go to preferences or start a new project, there is no option related to android, what could i possibly did wrong?

Just uninstall the Android packages in eclipse and then re-install them, this likely occurred because the Eclipse packages were being installed whilst or before the Android SDK was downloaded and installed.

Did you install the android sdk before installing the plugin in Eclipse?
Is what I do yesterday and it works. First install de sdk and later install the plugin in eclipse.

Alright, i got it to work, even though i am not too sure which one did the trick, but what I did is change everything to 32-bit version (I was using 64-bit version). This includes the uninstalling JDK and eclipse and re-installing the 32-bit version of them (and of course, restarting the computer, even though i did this before).
It is working now, but I'm not sure if it was the re-installing of JDK or switching to 32-bit version that solves the problem.

Thanks, very helpful :-). I tried a lot of things ... I used the Classic version instead of the JavaEE one, tried Indigo instead of Juno ... set a different JDK ... but in my case eventually downloading the 64-bit version of Eclipse did the trick! So maybe the JDK and Eclipse must be compatible somehow ...

After some distress I found it under File -> New -> Other -> Android from the menubar. Now to figure out how to get it under the New menu directly.

Related

ADTr20 doesnt get installed in my eclipse

I have updated my android sdk to sdkr20, before i used r16 and my eclipse version is
Version: Indigo Service Release 1
Build id: 20110916-0149
but when I try to install ADTr20 it doesnt get installed and says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)
What should I do now?
I'd suggest trying a fresh install of eclipse. But don't get Juno (the latest version) as there is a bug that makes the XML editors not work with ADT (see http://code.google.com/p/android/issues/detail?id=34630).
Can you try updating eclipse first?
Then let it do its thing like so:
Then select the option only for tools (do not select anything else)
Once that installs successfully, try installing the other updates one by one, say select DDMS only first and so on
Note: At times, removing development tools and then installing it again helps to resolve such issues as well
They say you should use Eclipse Indigo

Android plugin for Eclipse (ADT) disappears after SDK 20 upgrading

I've just upgraded to the Android SDK rev 20 and since then no way to install the ADT plugin in Eclipse 3.7.2. Although the package (Android DDMS, Android Development Tools) is referenced in the Eclipse installed software, I don't have shown-up any Android project or perspective, at the point that I can't set the SDK path in Windows/Preferences ...
I've also tried to re-install, nada. Accessory: Linux Ubuntu 12.04
Thanks for help!
SDK r20 works only with ADT r20 so you have to update your ADT too.
To update your ADT do the following procedure :
In eclipse go : Help -> Install New Software...
Now in Work with field type this link https://dl-ssl.google.com/android/eclipse/
Now press enter. You will see some items in list view below. Select all and press next.
Now accept the agreement an click next.
This will update your ADT. an you should be able to see it in eclipse
For more information see : Android Developer Site
I was having the same problems on Ubuntu 12.10.
I found that this was due to the fact I was using Java 1.5. After upgrading to Java 1.7, the problem disappeared
What JVM is your default on Ubuntu? ADT requires a JVM that can handle keystores correctly. Using Sun Java 6 is fine.
Besides that, ADT has optional dependencies to some of the Web Service Tools (WST) for the XML editing related features. Maybe you can check whether that is correctly installed?
And if nothing else helps: Eclipse 3.8 and 4.2 have been released 6 days ago, so just using a fresh installation of Eclipse 4.2 together with ADT 20 might be the best choice in the long run.
We had a similar problem.
Solved it by going to Help -> Check For Updates.
Deselect everything except the items that specify version 20. Can't remember the exact list by heart.
Then click next and follow instructions.
Should sort out the problem.
Edit:
The most important one is the "Android Development Tools" itself from that list.
The other 3 Android are also important.
Setting the "-vm" option in eclipse.ini with a JDK 1.6 solved the problem for me.
Trying to uninstall/install did not help.

Problem adding Android platform to NetBeans 6.9

I've been using Netbeans 6.9 quite happily with Android for a few months but I completely wiped my SDK yesterday and now, after reinstalling it, I can't get Netbeans to create the Android platform. I can select the platform okay but once I press FINISH nothing ever appears in Netbeans. I've even re-installed Netbeans but no joy.
Could someone post the contents of their platform XML file for Android? I'm thinking I can just enter this file manually and have Netbeans pick it up.
Any other ideas greatly appreciated!
I had the same problem with netbeans 6.9.1, mine was related with some incompatibility between 32bit and 64bit java.
I have Win7 x64 and also had java x64. removed x64 java and installed x86 java without reinstalling netbeans probaly caused the problem
This solved it for me.
uninstall netbeans
uninstall all java jre and jdk's
reinstall 32bit java
reinstall netbeans
reinstall nbandroid
I can only recomend you use Eclips for developing for android.
2 major adventages are:
1. Easly install JDK wich is spesific for eclips.
2. You get an emulator built in, making debuging even fun ;)
on one forum i found:
simply cut and paste the yourandroidlocation/platforms/android-1.1 (what you prefer, your current android platform) folder to the yourandroidlocation/. no files will be overwritten and now the android.jar and the other folders are on the right position.
it solve for me....hi
Note that this whole thread is obsolete now. The current version of android plugin for NetBeans ( http://www.nbandroid.org ) does not register Android platform in Java platform manager. Instead it looks into .properties files in your project to find Android SDK location and target platform that is used to build your project.
-Radim

ADT requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

I'm installing the Android SDK on a fresh installation of Fedora 14 (Linux). I installed eclipse, and ran the tools/android sdk tool to install all the Eclipse components for the SDK. I was able to get DDMS to install when selecting it by itself.
And for the last component - the Android developer tools, I'm getting the ugly error message pasted below.
Now I'm Stuck in Eclipse dependency hell.
I've searched through the available packages in Fedora and I can't find the one that has the files necessary to satisfy this Eclipse dependency. Can anybody please translate what it is that Eclipse is asking for and what Fedora package it lives in?
The ugly error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I've just encountered exactly the same problem in Eclipse 3.6 (Helios). After plenty of Googling I came across this link:
http://code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror
During installation, there's an error
about requiring
org.eclipse.wst.sse.ui. How do I fix
that?
The Google Plugin for Eclipse depends
on other specific Eclipse components,
such as WST. Your installation of
Eclipse may not yet include all of
them, but they can be easily installed
by following these instructions.
Eclipse 3.6 (Helios)
Select Help > Install New Software...
Click the link for Available Software Sites.
Ensure there is an update site named Helios. If this is not present,
click Add... and enter
http://download.eclipse.org/releases/helios
for the Location.
Now go through the installation steps; Eclipse should download and
install the plugin's dependencies.
(There are examples in that page for 3.5 (Galileo), 3.4 (Ganymede) & 3.3 (Europa) for anyone with different versions)
The exact same steps work for 3.7 (Indigo) as well.
Just use http://download.eclipse.org/releases/indigo for the location.
Juno: http://download.eclipse.org/releases/juno
Kepler: http://download.eclipse.org/releases/kepler
Note: Step four is not necessary. Only steps one to three are necessary.
For Eclipse 3.7 or Indigo the winning URL is
http://download.eclipse.org/releases/indigo
And for 3.8 it is
http://download.eclipse.org/releases/juno
I encountered the same problem in eclipse 3.7 indigo
and I have done the folowing:
help->install new software
click on "available software sites"
select all entries (CTRL-A) and remove them
add new entry at location http://download.eclipse.org/releases/indigo/
now add again the ADT location http://dl-ssl.google.com/android/eclipse/
If you're downloaded and installed a Classic version of eclipse you are missing the essential Java Development Tools required by the Android SDK etc
I found that installing the Eclipse Java Development Tools & Java EE Tools solved this problem for me in Eclipse 3.7.
It seems obvious to many Java Developers but to those new to the IDE and JAVA etc it's important to note that they don't installed come with the "classic" version of Eclipse.
Adding the link to the Helios repo http://download.eclipse.org/releases/helios wasn't enough.
In windows 7
Run the eclipse as administrator
goto Windows->Preferences->Instal/update->check "all version of available softwares" and apply--> ok
goto Help->Install new software-> add-->put the URL add or ADT zip file -->ok
thats all and its working....
I was also browsing these answers,but I couldn't get any answer to my problem.But through hit and trial I found the following solution.
First of all update your eclipse by going on Help-> Check for updates .Then, go to Install New Software and give adt location(local or url),then do check Contact all update sited during install to find required software and it would do the rest.
I am not sure whether this solution works well for other,but it worked for me and hope it works for some troubled developer out there
And for the Juno-version:
You just have to add it - not to install anything.
I found that removing ~/.eclipse solved this issue for me on the stock Ubuntu eclipse
For me, running win 7 64, eclipse 3.7.1 64, It was simply to run eclipse as admin, go through the listed steps.
Using Ubuntu 11.10 I was able to fix that issue by reinstalling Eclipse (in my case 3.7) as follows:
sudo apt-get purge eclipse
sudo apt-get install eclipse.*
From there on installing the Android SDK just worked fine.
In my case, I got the above error because the Indigo and "Eclipse Project Updates" items in the "Available Software Sites" pane were disabled.
All I had to do was toggle them to the enabled state and my ADT Plugin installation went like a breeze (as far as eclipse installations go, I guess)
I had this problem as well.
Running Windows 7 (64 bit), Eclipse Indigo. Tried all the different suggestions, but finally, simply unchecking Contact all update sites during install to find required software (running Eclipse as Admin, although I don't think this was important) got everything working fine. I hope this helps someone.
Install Google Plugin for Eclipse corresponding to your version.
for 3.6 helios link is http://code.google.com/intl/es/eclipse/docs/install-eclipse-3.6.html
for offline version http://code.google.com/eclipse/docs/install-from-zip.html
hope it will solve mine problem as well as yours.
I got a similar error in Windows Vista 32-bit when using Eclipse Classic 3.7.2 package, but it worked well after I downloaded and used Eclipse IDE for Java EE Developers.
straight steps to get your ADT plugin working
Download eclipse helios EE IDE not the classic version
After unzip directly go to Checks for Update from help menu
After it get updated download ADT plugin offline version from ADROID site
Now go to Help again -> Install New software -> add -> click on archive then point to your download ADT ADT-17.0.0.zip. Give any name in name field say ADT. click ok
now from work with drop down select the adt plugin name which you given
now go ahead with installation. enjoy :)
What I did (Helios):
1) Go to Help -> Install New Software...
2) Select or add new location http://download.eclipse.org/webtools/repository/helios/
3) Check WTP of latest version checkbox and press next
4) Most probably u will get into 'additional dependecies required' situation, but that new screen will show u which packages have wst in their names, u should procede with installation of that *wst* packages
5) U didn't get 4th point stuff. In that case u have required wst packages installed.
Enjoy. Or not... :)
Android developer
For those using eclipse 3.7
add the following after the http:// prompt download.eclipse.org/releases/indigo
Then click on "help" menu and click "check for updates
To help remove some of the guess and check on which dependencies are needed.
After a fresh Ubuntu install I needed the following.
Error 1:
***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.gef 0.0.0' but it could not be found
Update site:
GEF and Draw2d Plugin from http://download.eclipse.org/tools/gef/updates/releases/
Error 2:
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Update site:
Eclipse XML Editors and Tool from http://download.eclipse.org/releases/indigo
Use
http://dl-ssl.google.com/android/eclipse/ instead of https
Update for Fedora 16
Note that this is now provided by a package, so the recommended Thing To Do is
pkcon install eclipse-wtp-sourceediting
This appears to be a one-shot “magic bullet” to get everything that Android's ADK plug-in requires on Fedora 16 (at least).
None of the existing answers worked for me. Having all the correct update sites in "available sites" was not enough to tell Eclipse how to find its dependencies.
Using Fedora 14 and Eclipse Indigo 3.7.1, I had to follow these steps to make the installation working:
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo/201109230900
After restarting Eclipse, I was able to finaly install the Android SDK.
During installation, there's an error about requiring
org.eclipse.wst.sse.ui. How do I fix that?
The Google Plugin for Eclipse depends on other specific Eclipse
components, such as WST. Your installation of Eclipse may not yet
include all of them, but they can be easily installed by following
these instructions. Eclipse 3.6 (Helios)
Select Help > Install New Software... Click the link for Available
Software Sites. Ensure there is an update site named Helios. If this
is not present, click Add... and enter
http://download.eclipse.org/releases/helios for the Location. Now go
through the installation steps; Eclipse should download and install
the plugin's dependencies.
//Try to install the extension "eclipse plugin development environment"
Use http instead of https:// and it will solve this problem.
http://dl-ssl.google.com/android/eclipse/
none of above worked for me. This did:
Remove Eclipse (I think this is discussed above).
Get THIS eclipse. (The others don't have java).
This eclipse has java in it, the apt-get one doesn't
Follow these stepsThis guy nailed it. It shouldn't be this hard, but it's not that bad...
After that, I was able to bring back my Android stuff via the normal "Install new Software",
I ran into this issue to. What i did was simply extract the eclipse package using 7-zip instead of the inbuilt windows extractor.
Add this for eclipse juno
I was able to install ADT plugin after this on ubuntu 12.04
.
Eclispe 4.2 Juno Service Release 2
Trying to install Google Plugin for Eclipse failed even when "Contact all update sites" was enabled.
After installing the Juno JST/WST Server packages it worked.
Help > Install New Software...
Work with: Juno - http://download.eclipse.org/releases/juno
Category: Web, XML, ...
JST Server Adapters
JST Server Adapters Extensions
JST Server UI
WST Server Adapters
Restart Eclipse
Help > Install New Software...
Work with: Google Plugin for Eclipse - https://dl.google.com/eclipse/plugin/4.2
Google App Engine Tools for Android
Google Plugin for Eclipse 4.2
Contact all update sites - enabled!
Restart Eclipse
Google is your friend. Make sure you use the right version of Eclipse, and you may have to run Eclipse as root when installing.
The issue is that the versions of Eclipse that ship with Linux distributions are usually very generic in their configuration. It is unlikely that you will find the right package through your package manager, you want to use Eclipse's mechanism.
Downloading SDK tools and Installing the ADT bundle posed a problem for me on Windows and Linux.
After trying it in every way possible on both OS's even with my college lecturer with me for the Windows install, we couldn't get it working.
Both times the only way I got it working was by installing the Android ADT Bundle that includes Eclipse & SDK tools & ADT Plugin all in one.
apt-get remove eclipse-jdt and just download the bundle, it just works. :)
It's not from a repo but it works.
http://developer.android.com/sdk/index.html

Android Plugin for Eclipse problem

I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose.
I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version.
Has anyone heard of this type of problem? Is it because I am using Windows 7?
Thanks for any help.
tbneff
Have you tried doing the following and have it manually install from there:
Help -> Software Updates -> Add site -> http://dl-ssl.google.com/android/eclipse
I didn't see it on the website regarding if the ADT or the SDK is not compatible with Windows 7.
When you said you installed the 32-bit version, did you get it working or not at all?
maybe you have space in your Eclipse or Android SDK path? do not use spaces in path. I had similar problems and that's because spaces.
I encountered the same problem on my Mac, and found out what my problem was. When I was futzing around with stuff I had renamed the config.ini file in the eclipse/configuration folder. When I renamed it back to config.ini and restarted eclipse everything Android was back in the menus for me.

Categories

Resources