Unable to install Dev Tools in Eclipse (Ubuntu 11.04) - Android

I have searched and searched solutions for this. I have tried so many different things and yet nothing is working for me.
From what I can see, it's a common error. When I am trying to install the Development Tools in Eclipse, it doesn't work. I am now using Java EE - Eclipse. I have installed everything I could from these locations:
EPP Packages Repository - http://download.eclipse.org/technology/epp/packages/galileo
The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.5
I am at a loss as to what to try.
When I try to download and install Google App Engine Tools for Android from:
Google Update Site for Eclipse 3.5 - http://dl.google.com/eclipse/plugin/3.5
I get an error:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Google App Engine Tools for Android 2.6.1.v201205091048-rel-r35 (com.google.gdt.eclipse.mobile.android.feature.feature.group 2.6.1.v201205091048-rel-r35)
Missing requirement: Android Development Toolkit 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt 18.0.0.v201203301601-306762) requires 'bundle com.android.ide.eclipse.ddms 0.0.0' but it could not be found
Cannot satisfy dependency:
From: com.google.gdt.eclipse.mobile.android 2.6.1.v201205091048-rel-r35
To: bundle com.android.ide.eclipse.adt 12.0.0
Cannot satisfy dependency:
From: Google App Engine Tools for Android 2.6.1.v201205091048-rel-r35 (com.google.gdt.eclipse.mobile.android.feature.feature.group 2.6.1.v201205091048-rel-r35)
To: com.google.gdt.eclipse.mobile.android [2.6.1.v201205091048-rel-r35]
Error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762)
Missing requirement: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762) requires 'org.eclipse.ui 3.6.0' but it could not be found

I tried following your issue, but I can't. Let me ask do you mean the Android Development Tools (ADT)?
http://developer.android.com/sdk/eclipse-adt.html#downloading
I use eclipse and works fine just putting in the url, clicking next. etc etc. Make sure you already have the SDK installed. Make things much easier, then you just point to the path of the SDK when you add in a new android project.

lithid-cm said:
I tried following your issue, but I can't. Let me ask do you mean the Android Development Tools (ADT)?
http://developer.android.com/sdk/eclipse-adt.html#downloading
I use eclipse and works fine just putting in the url, clicking next. etc etc. Make sure you already have the SDK installed. Make things much easier, then you just point to the path of the SDK when you add in a new android project.
Click to expand...
Click to collapse
Yes, the ADT Plugin. I already have the SDK installed.
Everything I have tried has failed.

i cant get sdk to work with eclipse classic 3.7.2 :/.... windows 7
Sent from my Motorola Electrify using XDA

l2icky said:
Yes, the ADT Plugin. I already have the SDK installed.
Everything I have tried has failed.
Click to expand...
Click to collapse
Only thing you do is put in the url, and click next.

lithid-cm said:
Only thing you do is put in the url, and click next.
Click to expand...
Click to collapse
You don't say.... I did that. I followed the steps to a T.
When I put the link in and click next, I end with this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762)
Missing requirement: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762) requires 'org.eclipse.ui 3.6.0' but it could not be found

l2icky said:
You don't say.... I did that. I followed the steps to a T.
When I put the link in and click next, I end with this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762)
Missing requirement: Android Development Tools 18.0.0.v201203301601-306762 (com.android.ide.eclipse.adt.feature.group 18.0.0.v201203301601-306762) requires 'org.eclipse.ui 3.6.0' but it could not be found
Click to expand...
Click to collapse
You need to upgrade eclipse. Google is already preparing the versions for the latest Ubuntu LTS. This is most likely why you get this error because you are using an older Eclipse version.
12.04 - eclipse-platform 3.7.2-1
You could also update your version:
http://colinrrobinson.com/technology/install-eclipse-ubuntu/

lithid-cm said:
You need to upgrade eclipse.
Click to expand...
Click to collapse
That's what I finally did.
It worked after that.

so someone help me... I've been tin to get this worked out for over a month now
Sent from my Motorola Electrify using XDA

moparfreak426 said:
so someone help me... I've been tin to get this worked out for over a month now
Sent from my Motorola Electrify using XDA
Click to expand...
Click to collapse
Update eclipse. or update your os.

i have latest version. downloaded it for android programming. ... and i have windows 7
Sent from my Motorola Electrify using XDA

moparfreak426 said:
i have latest version. downloaded it for android programming. ... and i have windows 7
Sent from my Motorola Electrify using XDA
Click to expand...
Click to collapse
No idea then. Follow the directions on the google site. If you are using the latest version then you should only need to put in the url and click next.

i do that. ... after that is when it gives me errors
Sent from my Motorola Electrify using XDA

Not working for me too
I have exactly the same issue
It's not the first time i installed ADT, and until today, i never had any problem.
I just re-install my OS and i can't re-install ADT, and i really don't know why.
Moreover issue message is really not helpful and it does not make sense.
If someone can help us, I would really appreciate
---------- Post added at 08:10 PM ---------- Previous post was at 07:48 PM ----------
I downloaded the latest version on eclipse website and retry to install ADT and it's working.
I hope this can solve you problem too

duffydake said:
I have exactly the same issue
[/COLOR]I downloaded the latest version on eclipse website and retry to install ADT and it's working.
I hope this can solve you problem too
Click to expand...
Click to collapse
Ill try again tommorrow
Sent from my Motorola Electrify using XDA

I've had the same issue today, turns out you need this download on W7 64 bit. Works now, with 3.7.2 the ADT can't be installed.
Link: http://download.springsource.com/release/ECLIPSE/helios/SR2/eclipse-SDK-3.6.2-win32-x86_64.zip

Adiministrator
This issue is fixed by right clicking on eclipse.exe and run as administrator, that way Eclipse has permission to make changes to system files.

Related

[Q] Looking for a dev to teach me

hey everyone, I've been with android since release on the g1 and have followed it since. but now I'm tired of being just a user and want to learn how to develope roms. I would rather have some one teach me first hand, but links to some places that helped you would be great too. So again, Im looking for a dev who would want to teach me, if some money is wanted, that's fine. thanks for reading. reply here and/or PM me. I am very serious about learning, I dont just want little tips/tricks or pointers.
Edit: I have a bit of skill in C++ and Java, but nothing too significant. I lost interest in writing programs, same with apps, no interest, everything has been done over and over again.
I have created a site specifically just for this. I have a link in the signature but feel free to just click here @green rom project
stoute said:
I have created a site specifically just for this. I have a link in the signature but feel free to just click here @green rom project
Click to expand...
Click to collapse
Thanks alot.
thank you too
I didn't find anything there that isn't here on xda.
JDV28 said:
I didn't find anything there that isn't here on xda.
Click to expand...
Click to collapse
Maybe, but for new users in building roms, it's easy if it is gathered in one place, instead of searching all over xda that sometimes you can get yourself lost
What ARE you looking for?
Sent from my DROID2 using Tapatalk
jbirdvegas said:
What ARE you looking for?
Sent from my DROID2 using Tapatalk
Click to expand...
Click to collapse
Some sort of a guide to developing roms. even porting. not an "all in one" guide. thats unrealistic and would most likely suck, seeing as its such a broad subject.
that site, is... i dont even know. not to insult you, but i found it to be useless. the single guide you have on there is for setting up the htc kitchen, which i figured out in 5 minutes on my own. I would suggest making a "Guides" section of that site, so it isnt JUST forums, and adding, well, GUIDES. you pointed me there to help me, but there was nothing on the forums even close to helping me.
What os are you running? Have you succesfully compiled the source yet either aosp or cm?
CyanogenMod's github is a great place to learn repo the source. Read the commits @ github.com/cyanogenmod all commits are commented to make reading changes easier.
Aosp is also on [email protected] github.com/android building aosp can be more tricky.
Cm is aosp with many custom packages included to see what is and isn't aosp [email protected] github.com/CyanogenMod/android
default.xml contains references to what packages are cyanogen and what is aosp
Either way you need to start by getting very familiar with
github.com/CyanogenMod/android_vendor_cyanogenmod
Look in the products folder at the .mk files
and how they are invoked by core/Makefile in
github.com/CyanogenMod/android_build
Also pay attention to build/envsetup.sh
Sent from my DROID2 using Tapatalk
How noob at developing are you?
Sent from my DROID2 using Tapatalk
jbirdvegas said:
How noob at developing are you?
Sent from my DROID2 using Tapatalk
Click to expand...
Click to collapse
your last post was quite helpful. Barely anything at all.
best bet start by getting the source to compile... sounds simple but can be tricky
most importantly get to know ~/android/system/build
you can't produce a custom rom without understanding when and how everything is compiled
JDV28 said:
hey everyone, I've been with android since release on the g1 and have followed it since. but now I'm tired of being just a user and want to learn how to develope roms. I would rather have some one teach me first hand, but links to some places that helped you would be great too. So again, Im looking for a dev who would want to teach me, if some money is wanted, that's fine. thanks for reading. reply here and/or PM me. I am very serious about learning, I dont just want little tips/tricks or pointers.
Edit: I have a bit of skill in C++ and Java, but nothing too significant. I lost interest in writing programs, same with apps, no interest, everything has been done over and over again.
Click to expand...
Click to collapse
Android Kitchen will be your best bet. Very easy to follow. Read the whole post at least twice and you will be good to go. Follow all the links.
This is what i used from the ground up and i have my own rom on my HTC EVO 4G.
http://forum.xda-developers.com/showthread.php?t=633246
http://theunlockr.com/2010/03/26/ho...om-for-android-part-1-setting-up-the-kitchen/
http://theunlockr.com/2010/04/15/ho...m-for-android-part-2-creating-your-first-rom/
Credit goes to dsixda. he created android kitchen. If you like this, please donate to him.
"Dont forget to hit the thanks button if i helped you"
I'm new to the Dev world myself... I've done a lot of reading and research and I've gotten to the point of building and modding Roms to contribute to the community here. I've only done rom's for the Eris, which isn't as complex as some of the other devices, but I'm willing to share my knowledge if you need it.
The basics you will need:
1. Linux (I've tried doing this in windows, not worth the hassle!), either ubuntu or linux mint work well (Mint is a windows "like" os, so it might be easier to start with that).
2. Android SDK Kit (You can google it)
3. APK Manager (If you need to decompile APK's to make changes, this tool makes things a lot easier!)
4. Android Kitchen (A must if you are porting and to keep your Rom's cleaned up!)
5. A working understanding of XML and some java code is extremely helpful!
6. Time and Commitment! Devving, by any standard, is a time consuming process! You can easily make a Rom, but keeping the masses happy requires updates to nightly sources and time to rebuild what you've started!
I've spent so much time updating, compiling, modding and theming that my family voices plenty of complaints! But, the reward of building something that works and seeing others benefit from your creation is well worth the effort! Balancing your time, if you have a family to consider, is key to succeeding with this!
If you'd like more help, send me a PM! I'll work with you as much as I can!
I setup the kitchen, as i previously said, but didnt find any use for it except maybe adding minor features to a completely stock rom. i have linux set up with the SDK. i just dont know where to go from there...even compiling from source
Read everything here
http://wiki.cyanogenmod.com/index.php?title=Building_from_source
Sent from my DROID2 using Tapatalk
JDV28 said:
I setup the kitchen, as i previously said, but didnt find any use for it except maybe adding minor features to a completely stock rom. i have linux set up with the SDK. i just dont know where to go from there...even compiling from source
Click to expand...
Click to collapse
Sent you a PM back, bro.
Having Linux, SDK and the Kitchen setup gets you about 75% of the way there!
The basic steps to compiling from source run through the Terminal in Linux. You will need to pull in the CM repository (the link jbirdvegas posted will give the instructions to do that). Once the repository is setup, you will need to load the proprietary files for the device you're building for in order to sync the correct source. (repo sync -j16 will sync the source and build your folders for compiling). You will need to plug in your phone through USB and extract the proprietaries through ADB. Example, my build location in Linux is "android/system" in that folder there will be a device folder with folders for each device brand and build. My eris is listed in CM as desirec, so my drive folder location is "android/system/devices/htc/desirec". In order to pull my proprietary files, I would have to do the following:
1. In terminal; "cd android/system/devices/htc/desirec" (This puts me in the correct build folder)
2. su (puts terminal in root) - type in password
3. "./adb kill-server" (shuts down adb)
4. "./adb start-server" (starts adb)
5. "exit" (puts you back in standard terminal)
6. "./adb devices" (verify your device shows - if you get ????????, adb did not start right)
7. "./extract-files.sh" (this will extract the proprietary files from your device and place them in the device folder for building)
8. "cd"
9. "cd android/system" (puts you back in the CM build folder)
Once that's done, all you basically need to do after that is:
"source build/envsetup.sh" (Setup source build)
"lunch" (this will give you a list of builds - pick your device)
"make -j# bacon" (# is the number of processors your phone has +1)
The Repo Sync and Make commands will take time, but once you've finished the Make cycle, your Rom (if there were no errors) will be compiled, signed and ready to flash on your device. From there, you can use the kitchen to add "tweaks" to your rom (CM sources are usually pre-setup, but you can still add things like "data/app" access to your Rom).
Hopefully this takes you to the next step. PM me if you run into problems, I'll help you through it.
If you get abd shows your device as ??????????
Google 51-android.rules on how to setup udev
Sent from my DROID2 using Tapatalk
jbirdvegas said:
Read everything here
http://wiki.cyanogenmod.com/index.php?title=Building_from_source
Sent from my DROID2 using Tapatalk
Click to expand...
Click to collapse
about 50% of those pages are empty, does it matter what phone i click on for now? nothing shows up for Glacier
JDV28 said:
about 50% of those pages are empty, does it matter what phone i click on for now? nothing shows up for Glacier
Click to expand...
Click to collapse
jbirdvegas has it right on the adb correction if your device isn't found. I'll look for setting up the rules and post the link a little later.
Glacier doesn't have instructions yet, but there are CM builds for it. If you follow the evo instructions that will get you setup. Just replace supersonic with glacier to get your device established. There wasn't one for the Eris, either, and the EVO instructions are what I used.
Also, if you're building for GB and you're on a 32-bit system, it will tell you you cannot build it. There is a bypass; I'm using a 32-bit system and just removed the "end" statement in the make file. My builds work just fine, so bypassing the environment won't mess up your builds...

What is a good android emulator for windows xp?

What is a good android emulator for windows xp?
Is there any way I can try out Sense 4.0 on my pc with an emulator?
Thanks!
The emulator that comes with the Android SDK is ok especially now that they allowed hardware acceleration.Abd as fir the sense thing you would have to load up a custom rom and there is a tutorial on how to do this just google for it.
Sent from my LG-P350 using xda premium
The most realistic one is the Android sdk since it emulates ARM hardware which means it can get a bit laggy. The smoothest one is Bluestacks alpha but its running an x86 build of Android which makes it fast on x86 hardware but restricts apps. Looking forward to their beta that is supposed to have ARM compatibility and still be fast.
The android sdk I tried but I cant install .apk that are on my computer. Ill have to try installing a rom.
Bluestacks looks interesting. Is there a download link for the alpha?
parcx.01 said:
The android sdk I tried but I cant install .apk that are on my computer. Ill have to try installing a rom.
Bluestacks looks interesting. Is there a download link for the alpha?
Click to expand...
Click to collapse
You can install apk just use the file explorer option in ddms or adb to push them
Sent from my LG-P350 using xda premium
Yes but.....
Hello,
Yes, but the beta version coming soon, actually android 2.3.4 ( in the future ??? )
asks go(d)ogle or on XDA there's mod
Note : for XP, need SP3 and 1gb memory (min.)
Use HD-ApkHandler.exe in the install dir ( the two services "BlueStacks Log Rotator Service"(for log) and "BlueStacks Android Service" (for SDCard.fs) must be run).
Tricks to edit SDCard.fs > Stop services and use Winimage.exe, it work very fine
MiBu1960
parcx.01 said:
The android sdk I tried but I cant install .apk that are on my computer. Ill have to try installing a rom.
Bluestacks looks interesting. Is there a download link for the alpha?
Click to expand...
Click to collapse
They pulled the alpha download since a beta is coming soon. Google the following file and you'll find 3rd party download links. Its about 120MB.
BlueStacks_HD_AppPlayer_setup_0.6.2.0563_REL.msi
Click to expand...
Click to collapse
But I don't think they are too far away from the beta release, put your email in on their website to be a beta tester. Really hoping the beta is running ICS. I look forward to seeing how smooth they can get ARM emulation running. They want it to work well enough for games so the end product shouldn't be laggy. Part of the reason the alpha is fast is because its only virtualizing since its running an x86 build of Android.
BlueStacks Beta got released today http://bluestacks.com/
Unfortunately its not working on my pc

Android Development for Newbies

Where do I start when I want to learn android development?
... not in this sub-forum!
JoshuaLintag said:
Where do I start when I want to learn android development?
Click to expand...
Click to collapse
There is an entire forum section for Android Development on XDA.
Sent from my DROID X2 using XDA
I need to learn the very very basic.
Like on math: 1+1.
I need to learn the basic of android development.
Research my friend. Lots and lots of it. I'm no dev, I just flash things, so "1+1" to me like 2746÷√9×-π. (Yes that is negative Pi, get at me.) But I do know there is information out there and you have to do a lot of self study.
Good luck!
Sent from my Kindle Fire using XDA
Start by setting up a build machine. Linux base with Java Sdk6 (not sdk7). If you are running windows you can use a program galled wubi to set a dual boot on your Pc to have ubuntu run, or you can use vmware to set up a virtually Linux emulator over top windows.
Then it will be up to you on what source you want to build from. And just google "build cm7 from source kindle fire" and there will be all kinds of links with instructions from there
Sent from my GT-P1000 using Tapatalk
http://forum.xda-developers.com/showthread.php?t=1667551
Sent from my Optimus Me using xda premium
pbailey212 said:
Start by setting up a build machine. Linux base with Java Sdk6 (not sdk7). If you are running windows you can use a program galled wubi to set a dual boot on your Pc to have ubuntu run, or you can use vmware to set up a virtually Linux emulator over top windows.
Then it will be up to you on what source you want to build from. And just google "build cm7 from source kindle fire" and there will be all kinds of links with instructions from there
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Actually, Eclipse and adb work on Windows just fine (although it might be a bit more difficult, like adding adb to PATH).
JoshuaLintag said:
Where do I start when I want to learn android development?
Click to expand...
Click to collapse
First of all, you need to setup Eclipse, Android SDK and ADT Plugin (try to run a "hello world" sample, to ensure that all is Ok). Windows or Linux... it doesn't mater, the result will be the same
Then, search for Android Development tutorials (there are many, just find them). If you have a specific doubt, try to search before post. Many of times the doubt is already solved at specialized sites, like stackoverflow
Nutomic said:
... like adding adb to PATH
Click to expand...
Click to collapse
Actually, Eclipse and Android SDK work fine without modify the PATH
Bohnsta said:
2746÷√9×-π.
Click to expand...
Click to collapse
The answer is −2875.60447558586 lol. Freakin Pi!
Sent from my GT-S5570 using XDA

Novacom drivers not found

Please...Can someone send me the Novacom Drivers Installer, not the universal one that downloads the driver...apparently hp close the page...please send me the installer or working link to [email protected]
thanks!!!
download a version of web doctor and open the java with winrar or any unzip utility and navigate to the novacom .msi driver.
google where it is. I don't remember the exact path it is in.
Sent from my HTC Vision using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1774151
here i put some links in that thread that should have what you need. I am assuming youre asking for windows.
Answer
Thanks....I Read The complete guide and found that the new SDK from HP have the NOVACOM in it, just install that and there it is...now running CM7 (i tried first the CM9 but to much bugs)...
thanks again!!
you should check out the latest cm9 nightlies, the microphone works. i also like aokp roms as well. you shouldnt have any issues compared to cm7.
reply
i Tried the last nightly but not camera in it....ill try that other one!!
thanks
acostaraymond said:
i Tried the last nightly but not camera in it....ill try that other one!!
thanks
Click to expand...
Click to collapse
camera doesn't work in ANY build.
reverendkjr said:
camera doesn't work in ANY build.
Click to expand...
Click to collapse
i do remember the camera working in one of the old cm7 alpha 3.x builds it wasnt perfect but you could take pictures with it. didnt work in skype or take video iirc.

[Q] Building from github in Windows

Hey guys i´m currently working on a AOSP-Theme and i want to include some APKs too.
So i´ve taken the cm7-launcher out of a cm7-rom.
Now i want the latest version of this launcher. Looked in the cyanogenmod-repositories and found the launcher.
The problem is, that when i download the pack its in sourcecode and not compiled. Well thats not the real problem..
I just want to know, is there a way to build a APK from Github in Windows?
I´ve searched now for 2 days and never found a right solution :/
Thanks instead
luxxx123 said:
Hey guys i´m currently working on a AOSP-Theme and i want to include some APKs too.
So i´ve taken the cm7-launcher out of a cm7-rom.
Now i want the latest version of this launcher. Looked in the cyanogenmod-repositories and found the launcher.
The problem is, that when i download the pack its in sourcecode and not compiled. Well thats not the real problem..
I just want to know, is there a way to build a APK from Github in Windows?
I´ve searched now for 2 days and never found a right solution :/
Thanks instead
Click to expand...
Click to collapse
Don't know about github but you can do it with eclipse
Sent from my A116 using Tapatalk 2
sak-venom1997 said:
Don't know about github but you can do it with eclipse
Sent from my A116 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for your fast answer.
Already tried it.
1. Downloaded sourcecode as zip.
2. Extracted
3. File -> import -> Android (Existing Android Code into Workspace)
The problem is just that nearly all java-files are marked with exclamation marks and red crosses.
I attached a screenshot for you.
You have a suitable solution for this?
Thanks for your help
Before i forget it: i have ADT-Plugin, Android SDK and JDK installed
luxxx123 said:
Thanks for your fast answer.
Already tried it.
1. Downloaded sourcecode as zip.
2. Extracted
3. File -> import -> Android (Existing Android Code into Workspace)
The problem is just that nearly all java-files are marked with exclamation marks and red crosses.
I attached a screenshot for you.
You have a suitable solution for this?
Thanks for your help
Before i forget it: i have ADT-Plugin, Android SDK and JDK installed
Click to expand...
Click to collapse
They're showing errors could you post screens of each class
Try this
Make sure you set the same api version as is the source for launcher
Sent from my A116 using Tapatalk 2
sak-venom1997 said:
They're showing errors could you post screens of each class
Try this
Make sure you set the same api version as is the source for launcher
Sent from my A116 using Tapatalk 2
Click to expand...
Click to collapse
I´ve set the API version by clicking with "right click on project -> properties -> Android -> Android 2.3.3 (API10)" to API10 and the launcher
i want to compile is out of "gingerbread" branch from cyanogenmod-github-repo.
But nothing changed, because it already was set to API10.
I´ve attached a excel-sheet with discription, resource, path location, and so on.
Hope it helps
Thanks for your help
luxxx123 said:
I´ve set the API version by clicking with "right click on project -> properties -> Android -> Android 2.3.3 (API10)" to API10 and the launcher
i want to compile is out of "gingerbread" branch from cyanogenmod-github-repo.
But nothing changed, because it already was set to API10.
I´ve attached a excel-sheet with discription, resource, path location, and so on.
Hope it helps
Thanks for your help
Click to expand...
Click to collapse
It is using some cynanogen mod resources which are not there in android repository so it won't compile more over u can't use a cynanogen launcher with any rom if you whish to do so you would have to mod the code so that it can run with any Android
Search xda I think there may b some cynanogen launhers
Sent from my A116 using Tapatalk 2

Categories

Resources