[Q] android SDK ADT plugins - Android Q&A, Help & Troubleshooting

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

Related

ADT/Eclipse problems

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

[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!

Eclipse and ADT

Hi
I'm having a slight problem with setting up the developer environment
I installed jdk, eclipse Helios, the sdk with all platforms and tools.
When I try to plugin the adt iin eclipse, I get an error saying can't find org.eclipse.ui 3.6.2
So I updated to eclipse indigo and there I get an error saying can't find org.eclipse.wst.sse.core 0.0.0
Btw I have jdk and I downloaded the latest zip of the adt plugin : adt 18.0.0
PS : I dont have internet access
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https : // dl-ssl . google . com / android / eclipse /
(Do NOT copy and paste this link, I had to add spaces because I'm under the 10 post mark and can't link to an outside site yet)
Click OK
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse
taken from the Android Developers website
Also make sure your environment variables are configured correctly!
johnnyb15613 said:
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https : // dl-ssl . google . com / android / eclipse /
(Do NOT copy and paste this link, I had to add spaces because I'm under the 10 post mark and can't link to an outside site yet)
Click OK
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse
taken from the Android Developers website
Also make sure your environment variables are configured correctly!
Click to expand...
Click to collapse
I tried that but I get the errors mentioned in the OP
Install the Classic Version of Eclipse (not the Java Dev version!), that should solve your problem.
I've also used the Eclipse IDE for Java EE Developers before. This was last year of course. I do see Eclipse Classic 3.7.2 in the downloads section, like post above its your best bet
Ok so I downloaded Eclipse Classic 3.7.2, but I get the error "org.ui 3.6.2 missing" after I select the ADT components
You deleted your workspace folder before install the new version? (If not, do it and try again).
Also, if you're using a 64bits version of Eclipse, try with the 32bits version.
I couldn't unzip eclipse classic 3.7.2 but friend managed too.I tried 7 zip and win zip.... Now can't do it with Android sdk:-/.... Help? I ready wanna start Android programming
Sent from my Motorola Electrify using XDA
RoberGalarga said:
You deleted your workspace folder before install the new version? (If not, do it and try again).
Also, if you're using a 64bits version of Eclipse, try with the 32bits version.
Click to expand...
Click to collapse
Il try the workspace thing
And im using 32 bit version
moparfreak426 said:
I couldn't unzip eclipse classic 3.7.2 but friend managed too.I tried 7 zip and win zip.... Now can't do it with Android sdk:-/.... Help? I ready wanna start Android programming
Sent from my Motorola Electrify using XDA
Click to expand...
Click to collapse
Don't hijack my thread :screwy:
I got eclipse now.downloaded Android sdk but can't do the thing to plug Android sdk into eclipse. Says something is missing
Sent from my Motorola Electrify using XDA
moparfreak426 said:
I got eclipse now.downloaded Android sdk but can't do the thing to plug Android sdk into eclipse. Says something is missing
Sent from my Motorola Electrify using XDA
Click to expand...
Click to collapse
That's exactly my problem
Somebody please help. I did everything. Updated to indigo. Reloaded eclipse repositories. Reinstalled eclipse. Redownloaded eclipse.
Anyone help? Ive tried googling it on my phone bUT no luck here.
Sent from my Motorola Electrify using XDA
I never got android sdk or eclipse running right
Sent from an Apple killing JellyBean

[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

Help me with eclipse & android sdk!

IF POSTED IN WING AREA JUST TELL ME AND BE NICE DON'T BE A DOUCHE.NOWHERE ELSE HAVE I GOTTEN HELP been trying to install over a month now. i want to try to get started looking at things and learn Android and then to start working on unlocking bootloader or work around to glass ics and diff kernals to my motorola electrify(photon)
Sent from my Motorola Electrify using XDA
What, seems to be the problem? You can't get eclipse, or the sdk to install..? Or is linking eclipse to sdk the problem? Or environment path variable? Need a tad more information :]
That's easy:
Download the latest versions of Eclipse Classic (don't download the Java Dev version!!!) and Android SDK. Don't use installers, ALWAYS use the zipped binaries.
Unzip the binaries in any folder, it doesn't mater. Open SDK Manager (at Android SDK folder) and download the packets for the version that you desire to develop. I recommend you download the packets for Froyo, since your apps will be compatible with Froyo or any upper version.
Open Eclipse, and install ADT Plugin, as described here.
Go to Window >Preferences >Android, and type the location of Android SDK folder.
And... that's all, dude. You're ready to rock
thank you. i will try again in the morning when i have to get ready four work. i keep getting where you have to install or whatever the android sdk to eclipse (classic 3.7.2)...
Sent from my Motorola Electrify using XDA
Hmm... the key thing is to have the latest version of SDK Tools (a packet that can be downloaded from SDK Manager).

Categories

Resources