ADT/Eclipse problems - Nexus One Android Development

I'm not 100% if this is relevant in this thread..I am running Ubuntu 9.10 and installed Eclipse 3.5.1...I am trying to get the Android SDK running and I follow all the steps listed at
http://developer.android.com/sdk/eclipse-adt.html
and I have added the path. I am getting the error
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404)
Missing requirement: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found
the part in bold is different than the org.eclipse.wst.sse.ui error they speak of, and their troubleshoot techniques don't work. help?

i had a similar issue, somehow the ubuntu-package did not have the default eclipse sources in it.
unfortunately i can't remember what i did to fix it, suddenly they appeared. maybe they get auto-updated in eclipse after some time?
anyway, these are my enabled software sites:
(i copied them, but it says i can not post links... so here's a screenshot...)
hope this helps

You can avoid these troubles if you do not use the Ubuntu package
Download the eclipse for Java from eclipse.org will do

SystmDcln said:
and I have added the path. I am getting the error
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404)
Missing requirement: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found
the part in bold is different than the org.eclipse.wst.sse.ui error they speak of, and their troubleshoot techniques don't work. help?
Click to expand...
Click to collapse
I had the similar problem last nite.
I used the Synaptic instead of Ubuntu Tweak to install Eclipse, and everything works now.

i followed this, plus some other hints
http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11
this thread should have everything in it
http://forum.xda-developers.com/showthread.php?t=620413

Related

[Q] Setting up the Android SDK in Ubuntu...

Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Macrodroid said:
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Click to expand...
Click to collapse
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
roirraW "edor" ehT said:
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
Click to expand...
Click to collapse
Dude, thanks so much! That worked perfectly. Thanks!
Sent from my Froyo Tazz using XDA App
You're welcome!

[Q] android SDK ADT plugins

hi and happy newyear to all,
I im trying to make an firsdt attempt into the world of android development. I went to the site and followed the instructions of what i need to develop for android.
But i made an mistake. i did not follow it to the letter. (i know its dumb but i was so enthousiastic)
1.I downloaded the recommended windows installer being
installer_r16-windows.exe (Recommended)
2. i followed the steps in the install sdk guide provided bij the official site
3. I downloaded JDK and installed it
4.i downloaded and installed the recommended eclipse classic
5 NOW things went bad for me because i did not read and do the step as was written
i put the plugin in the wrong folder so when i noticed my fail. i tried to fix it by deleting the map all togehter. Thinking i could simply retrace my steps and start over.Wrong when i tried to follow the instructions again i got a message saying that it was already installed.
So my question is can i either delete eclipse allthogether and start from skratch or is there an easier way
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
but can you tell me how to install eclipse it doest show in configuration screen under delete software.
im running it on a windows 7 64 bit os
Thanks in advance
mstroud said:
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
Click to expand...
Click to collapse
Thanks but can you please tell me how to uninstall eclipse because it doesnt show up in the configuration screen under delete software. Im running it on a windows 7 64-bit OS

[Q] Which Eclipse IDE for Android App Development?

I want to start learning Android app development for my own education. I assume that the Eclipse IDE is the preferred environment, but there are many versions available. Since I don't know Java and would be learning that as well, the comparison chart does me no good. Can someone tell me which one I need, and suggest any other tricks I should know, like which additional packages to download? I would be targeting Gingerbread and ICS, and the RAZR in particular, since that's what I have on hand. I also have used the subversion version control system in the past.
Thanks in advance.
You can download eclipse classic. After downloading, you have to download the android SDK and the adt-plugin for eclipse. More information here.
Thanks. I'm downloading the SDK but I'm getting connection timeouts for one component that I'll have to try later. Also, after downloading and installing some SDK files, they appear in the list with two identical versions, one in italics which is listed as not installed, and another one in normal type listed as installed. Any idea what that is about?
MOTODEV Studio for Android
Motorola has released an IDE called MOTODEV Studio for Android which is based on Eclipse. You can also install it as an plugin to an existing Eclipse installation as long as it is the Indigo release.
Just google for it.
Regards,
brenmcguire
Thanks very much. The MOTODEV Studio looks very interesting.
One generic question: In installing Eclipse, all I needed to do was extract the .zip file into a directory, and run the program from there or by using a shortcut. Is that the mode of operation for all these tools, that is, do they follow the UNIX model of putting all files in one place, rather than the Windows model of scattering files everywhere and altering the registry? I much prefer the UNIX model to the Windows model. It is much cleaner. (I was a UNIX and C programmer for about 15 years.)
larrygeary said:
One generic question: In installing Eclipse, all I needed to do was extract the .zip file into a directory, and run the program from there or by using a shortcut. Is that the mode of operation for all these tools, that is, do they follow the UNIX model of putting all files in one place, rather than the Windows model of scattering files everywhere and altering the registry? I much prefer the UNIX model to the Windows model. It is much cleaner. (I was a UNIX and C programmer for about 15 years.)
Click to expand...
Click to collapse
Hi Larry,
yes, that's the way to use Eclipse. It is even the same under OS X.
Well I have Eclipse and all the SDKs set up in a virtual machine, and I think I'm ready to roll. On to "Hello, world!" Android style. In another VM I have the MOTODEV Studio, but I don't think I have it completely set up because I couldn't create a RAZR emulator like I could with Eclipse. Thanks everyone for your help.
I'm interested to hear your progress! I plan on learning myself once I fix my laptop...
\\Carved into this thread by my RAZR//
http://android-gz.com
I'm new to Android, Eclipse and Java. I'm having trouble setting up an emulator for my Droid Razr. It's on Verizon, software version 4.0.4. I downloaded an SDK add-on from the Motodev site titled RAZR, I guess I thought it was going to be a plugin for Eclipse, but I'm a little confused. If it is a plugin, I have not yet figured how to install it.
Above all else, I just need a little help setting up an emulator for my Razr. The part I got stuck on was trying to select the proper screen size. The option for a 4.3" screen with 540x960 resolution was not an option, and I couldn't figure out how to make it an option.
Thanks for any help.
---------- Post added at 06:10 PM ---------- Previous post was at 05:44 PM ----------
I guess I asked for help a little too soon. Shortly after I posted, I found the 'installation instructions' for the Motorola add-on, as well as how to add a new device to the Eclipse Android Virtual Device.

Programming Java on NT-Including generating APKs

Programming Java on NT-Including generating APKs
I don't know anything about java but am trying to learn. Most of what I would like to create will be simple. It would be nice to be able to create APKs so I could pass on to others if I wished necessary.
I have not been very successful setting up a proper environment in windows or linux. There are numerous guides on the internet for each operating system. The problem is the world keeps revolving and by the time I find a guide and try to follow it to conclusion there have been changes that cause an incorrect environment which is unusable.
I remember programming on iPAQs (xscale-arm processor) both in c/c++ and c# on board the iPAQ. After looking around a little I have found several options for windows users (gui) and one for linux users (command line) to program on the NT in java.
I felt I should pass this information along for others. These will be listed windows Style(gui) first and then linux style(command line) last.
Windows Style environment(gui) :
Aide - https://play.google.com/store/apps/details?id=com.aide.ui&feature=search_result
Just install and you have a working environment which will compile android api10 example files with nearly no changes (example change=add res directory which had been left out of example). The only thing that was not apparent is to watch the notification area for any errors which give you the problem and how to correct them. Updates have been often and useful. My first choice for windows type (gui) environment. Check the web for more info and tutorials about this program.
Android Java Editor – https://play.google.com/store/apps/..._result#?t=W251bGwsMSwyLDEsImNvbS5hbmplZGkiXQ..
With this one I had to watch the video and pause it several times to decide how to get setup and use (no audio-just video). It works and creates APKs also but is a bit more involved and the learning curve of the program is higher due to no available directions.
Linux Style environment(command line):
Terminal IDE – https://play.google.com/store/apps/...cuside&feature=nav_result#?t=W251bGwsMSwyLDNd
Easy install, good tutorials, and very easy to learn. Can be used with a tether (wifi or cable) and telnet to use keyboard and screen from your pc. This one has updates since I downloaded and support is great. I couldn't get the software keyboard to work on stock 1.4.0 but works great in CM7. As a result I used hackers keyboard while on 1.4.0. Also creates APKs. Includes vim, Midnight Commander, etc. This is a thirty meg download and is twice that when installed but everything is installed in /data/apps/ folder so it had no impact on a stock 1.4.0 system.
Notes:
None of these require being rooted to setup and use. There are others but I have decided not to list them in this thread for various reasons. I feel I have chosen the easiest to get working and use and provide the end result of an APK if you desire.
I forgot to mention they are all free. I have just begun this project so I can't be any help on use of these programs or java. I'm just passing on information as I think others may find useful. The way I see this project is anything I learn (no matter how little) from this is added to my limited knowledge and certainly can't help.
Almost forgot, I use jota text editor to look at and create source files.https://play.google.com/store/apps/...51bGwsMSwxLDEsImpwLnNibG8ucGFuZG9yYS5qb3RhIl0.
Nvm, you're talking about developing for android on android
lufthanza said:
Nvm, you're talking about developing for android on android
Click to expand...
Click to collapse
Yes that is correct.

[Q] problems with android sdk

*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help

Categories

Resources