Eclipse and ADT - Android Q&A, Help & Troubleshooting

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

Related

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

[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).

Android Wear Developer Preview

Is now available here: http://developer.android.com/wear/preview/start.html :highfive:
I cannot download the Preview Support Library and sample from the link in the email. The page says too many people have downloaded it. Anybody able to get these that can share?
EDIT: Nevermind, got it now.
simo24 said:
I cannot download the Preview Support Library and sample from the link in the email. The page says too many people have downloaded it. Anybody able to get these that can share?
Click to expand...
Click to collapse
Within Android SDK, follow this list:
1) Launch Android SDK Manager.
From Eclipse, select Window > Android SDK Manager.
From Android Studio, select Tools > Android > SDK Manager.
2)Below Tools, verify that you have Android SDK Tools revision 22.6 or higher.
3)If your version of Android SDK Tools is lower than 22.6, you must update:
4)Select Android SDK Tools.
5)Click Install package.
6)Accept the license and click Install.
7)When the installation completes, restart Android SDK Manager.
8)Below Android 4.4.2, select Android Wear ARM EABI v7a System Image.
9)Below Extras, ensure that you have the latest version of the Android Support Library. If an update is available, select Android Support Library. If you're using Android Studio, also select Android Support Repository.
10)Click Install packages.
11)Accept the license and click Install.
it's all here: http://developer.android.com/wear/preview/start.html
lwkkazz said:
Within Android SDK, follow this list:
1) Launch Android SDK Manager.
.
.
.
11)Accept the license and click Install.
it's all here: http://developer.android.com/wear/preview/start.html
Click to expand...
Click to collapse
The sample apps and supporting library are not there. They come via a link in an email you receive after signing up for the sdk.
See this link: https://drive.google.com/uc?export=download&id=0B39_TcfZ2v6NajZ3Q3UwdU5SQVk
But also, I was able to finally download them, looks like you may need to be patient for a bit after signing up.
For me the only 'problem' is to download the app in the play store.
But, that i think will take some time, as they said:
Opt-in to become a tester of the Android Wear Preview app in the Google Play Store. After opt-in, it could take up to 24 hours for the Android Wear Preview app to be accessible to you in Google Play. Make sure the opt-in user account is the same user signed in to Google Play.
Click to expand...
Click to collapse
Btw, does someone has received access to the APK?
[]'s
jikashow said:
For me the only 'problem' is to download the app in the play store.
But, that i think will take some time, as they said:
Btw, does someone has received access to the APK?
[]'s
Click to expand...
Click to collapse
Yes, apk is working fine. Got it connected to my emulator and it's working pretty well.
yo2boy said:
Yes, apk is working fine. Got it connected to my emulator and it's working pretty well.
Click to expand...
Click to collapse
APK working on 4.4.2 xt901. Round booted fine and I interface adb over WiFi instead of USB.
Can anybody post the .apk that has been downloaded from the app store
Android Wear Apk
Heres a link
Mikes 101 said:
Heres a link
Click to expand...
Click to collapse
Thanks!
Mikes 101 said:
Heres a link
Click to expand...
Click to collapse
Thanks! Let me install the app. I signed up, but dodgy SMS perms made it so I could not download it from play. It works too, thanks!
No problem
Sent from my Amaze 4G using xda app-developers app
[APP]*[Source] AndroidWear [SmartGadget]*[4.3+]
find everything u need for androidWear;
http://forum.xda-developers.com/android-wear/development/app-androidwear-t2690062
New to Android Wear
Just downloaded the SDK but having trouble running it on computer. I have Windows 7. Anybody have any ideas on how to help??
Why apk file not upload, can anyone tell me reasons

Categories

Resources