Eclipse on win7 and ubuntu - Android Software Development

After searching for this and coming up short on answers (found a lot of questions), I reside to asking the question here.
I tried to start developing android applications today and thought it would be quite seamless procedure. I had read how developer friendly android was supposed to be. However to me it seems quite far from the truth I have yet to find a way to run eclipse+adt on my win7 64bit without epic lags and crashes.
Is eclipse better in ubuntu or am I doing something completely wrong with my setup. Because currently it seems more easy to configure dual boot than to make eclipse work.
I use the following setup:
win 7 x64
Java SDK 1.6 x64
Latest android SDK
Eclipse 3.5.2
Latest ADT

Hi, I don't have any suggestions for running eclipse in win 7..however I do also run win7/ubuntu.
I highly recommend using sun virtualbox on windows 7 to install ubuntu . I do this, and use eclipse on ubuntu. Works great. With very little work, you can run full screen after starting your virtual box and it's nearly identical to dual booting.
good luck getting windows 7 to work, I've meant to install eclipse but since ubuntu has been working so well.. i haven't had a need.

Thanks a lot for the answer. Very appreciated.
Seems like a really smart way to avoid the hassle of installing dualboot. Going to try it later today.

Related

hero + ubuntu...do they play well?

so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
I don't know if this will help you at all, but I believe gbhil did/does a lot of Ubuntu. Here is a guide he wrote for setting things up:
http://forum.androidcentral.com/hac...ramming-envrionment-using-ubuntu-windows.html
fixxxer2008 said:
so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
Click to expand...
Click to collapse
1. Yes
2. Yes
3. Yes
4. Yes
Ubuntu is amazing. The newest version was released yesterday, 10.04 -- and it's great! I've dual booted (Windows 7 and Ubuntu) for some time now and realistically once you try Linux, you'll most likely use it as your main OS.
Developing, theming, syncing, and anything you can do in Windows with the HERO can be done in Linux (Ubuntu) -- I know, because I do it!
You should definitely give Ubuntu a try, at least try a Live CD, you won't be disappointed.
Or, if you use VMWare, I have a Virtual Machine already compiled and running Ubuntu (not the newset) but it should be setup already.
Edit....Actually, that may have been before I had to reinstall windows. Anyways, I'll check and see what I still have lol.
Ubuntu is definitely the way to go. I'd never go back. Everything works for me.
I use Ubuntu exclusively now. Wont go back to Winblows. Also, you can use Wubi installer if you dont want to remove your Windows install. Wubi will install Ubuntu beside Windows and give you the option to dual boot...
yea, I'm a wubi convert. If linux played better with my laptop, I'd go all the way, if ya know what I mean... lol
anyways, two problems I have (although will be trying 10.04 later this weekend to see if they're fixed) was plugging in headphones not automatically turning off speakers (could turn down speaker volume manually though) and finding a decent visualization program for listening to music at work (I use whitecap on windows right now). Minor annoyances, but hey.
VinceOB said:
I use Ubuntu exclusively now. Wont go back to Winblows. Also, you can use Wubi installer if you dont want to remove your Windows install. Wubi will install Ubuntu beside Windows and give you the option to dual boot...
Click to expand...
Click to collapse
Sweet. thanks for the tip.
im gonna set up a wubi install tonight, i still love windows 7 too much but after last night im compelled to format but it takes too damn long.
I wonder if with Wubi if you can install the newest Ubuntu or if you are tied down to specific versions?
ccapasso said:
I wonder if with Wubi if you can install the newest Ubuntu or if you are tied down to specific versions?
Click to expand...
Click to collapse
wubi will come on all ubuntu versions. it's included in the iso you download.
fixxxer2008 said:
so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
Click to expand...
Click to collapse
1. No HTC Sync for Linux
2. Ubuntu will detect the Hero (the 1.5-based Roms had an additional benefit...when you mount the SD card, you would also be able to directly modify the ext partition if you were using Apps2SD...market apps such as splitter will perform the same function in any Rom).
3. There is an Android SDK for Linux and several guides that will tell you how to set it up on Ubuntu.
4. Development, I think, is easier since both run the Linux OS.
Wait...there's an HTC Sync for Linux (not that it really matters, since I can care less...but if so, I may have stuck my foot in my mouth again. Can't get this taste of Tinactin out of my mouth.)
pseudoremora said:
1. Yes
2. Yes
3. Yes
4. Yes
Ubuntu is amazing. The newest version was released yesterday, 10.04 -- and it's great! I've dual booted (Windows 7 and Ubuntu) for some time now and realistically once you try Linux, you'll most likely use it as your main OS.
Developing, theming, syncing, and anything you can do in Windows with the HERO can be done in Linux (Ubuntu) -- I know, because I do it!
You should definitely give Ubuntu a try, at least try a Live CD, you won't be disappointed.
Click to expand...
Click to collapse
Ad hoc networking is spotty in Ubuntu...at least 9.04 and 9.10. Until i install the 10.04 final I cant say if it still sucks. They changed a bunch of stuff regarding networking support, so It might be fixed now.Takes a lot of extra work to get wireless tethering to work.
My bluetooth hardware in my computers wont see the phone and it connects but never pairs. Android has always had lackluster bluetooth support anyways. That might be my hardware in my systems though.
Im ok with wired tethering though anyway so I havent made a lot of effort on that front. Thats my only major gripe.
Almost every little quirky thing can be fixed if you do come across problems, but these problems are fewer and fewer since 8.04 .
Ubuntu forums are amazingly helpful (if you follow the rules and dont ask stupid ass questions)
fixxxer2008 said:
wubi will come on all ubuntu versions. it's included in the iso you download.
Click to expand...
Click to collapse
installing wubi now. this has been an excellent thread thanks!
i do have an ubuntu netbook i have used twice due to my wife is a thief! thats why so excited to try this. beats buying another laptop.
How do you install Ubuntu on a hero? i wanna try too lol
pimix2009 said:
How do you install Ubuntu on a hero? i wanna try too lol
Click to expand...
Click to collapse
Uhh, no one is installing Ubuntu on the Hero.
pimix2009 said:
How do you install Ubuntu on a hero? i wanna try too lol
Click to expand...
Click to collapse
lol. Not on the hero .
VinceOB said:
Uhh, no one is installing Ubuntu on the Hero.
Click to expand...
Click to collapse
it would be cool if we could, the tp2 users can.
anybody got a link for the htc sync for linux?
ad hoc...
agentofboom said:
Ad hoc networking is spotty in Ubuntu...at least 9.04 and 9.10.
Click to expand...
Click to collapse
i am running crunchbang 9.04 (great for older machines and underpowered netbooks) which is a very sleek, very fast distro based off of ubunutu 9.04 and wifi tethering works perfectly without any fussing with it.
for a distro, ubuntu is a great starting point but personally it is too bloated and feels too much like windows.
btw- crunchbang 10 alpha release is very solid (especially for an alpha build) and works very well on netbooks. the support community for it is fantastic (which is very important for me- read: i am not a dev). check out distrowatch.
cheers and best of luck with linux!,
ryan

SDK Issues

Alright, so the issue is... I have the SDK... and it won't work on either of the operating systems I run. I am running Ubuntu 9.10 and Windows 7, both 64bit. There are two main aspects I am after with it. Using DDMS to take screenshots and mess with stuff on devices, and the virtual Android system. On Ubuntu, DDMS comes up, but it shows my device as just ?????? and I am unable to do anything. I have already tried putting in the rules thing I found all over google, and it has done nothing. The correct IDs were in as well. On Windows, why I try to use it... it pops up with a command prompt screen for a split second and does nothing. On both Ubuntu and Windows, when I try to use a virtual device, all it does is crashes. This is with all different settings. So, is there anyone that can help me out with these issues? I just spent 3 hours of google searching to no avail. None of the fixes or anything I have found made any difference. Well... that's not true... one of them made DDMS not work at all... but that just needed to be restored. Any help would be appreciated. Thanks!
Update: Doesn't work on my gf's laptop which has Xp either... wtf DOES this run on?
I run the sdk on my win7 32 bit desktop. It runs in eclipse

[Q] Developing in Windows 7

Has anyone successfully installed eclipse and ADT on Windows 7 64 bit Home Premium? I installed Eclipse (Galileo SR2 32bit) and attempted to install the ADT and DDMS plugins. Eclipse lists ADT and DDMS as installed software but they do not show up in the plugin list. As a result, I can't create an Android project since it does not show up in the new projects . I am not sure if I am missing something simple or if there is a basic incompatibility with Windows 7. I have successfully set up the ADT on XP but am new to Windows 7 (and I don't much experience with Eclipse). Any help or ideas would be much appreciated.
PS. I have also downloaded JDK and Android SDK and modified my Path envirnoment for each.
I never could get things working in win7 (I have win 7 pro 64bit) so I built a VMWare virtual machine with linux and set it all up there and run the VM under win7.
I'll probably end up something similar. Thanks for the info.
Sent from my X10a using XDA App
It's been a few months but as I remember I had no issues installing on win7 64x Pro
Sent from my Nexus One
No issues here too
I installed eclipse, the plugin and the sdk just yesterday without any problems.
Although I tried on an older windows 7 system a few months ago, and had issues with Eclipse giving some random errors.
I read version 3.6 had issues, so this time I installed 3.5, all is working fine so far.
Thanks everyone for the commnets. I couldn't get eclipse to recognize the ADT properly so I assumed it was a Windows 7 compatibility issue. After hearing of your success, I ended up reinstalling eclipse, ADT SDK and JDK. That seamed to do the trick so I am up and running in Windows 7. I aslo installed VMWare/Ubuntu/Eclipse so I now can develop in Windows or Linux.
Have you tried to run the executables in Windows XP compatibilty mode?
Right click on the exe, go to properties, compatibility tab and check the box and select windows XP service pack 3.
Most of the programs which are compatible with XP and not with Win 7 can be ru this way...

Ubuntu questions...

Hey guys, I've been using Windows Vista 32 bit 86x to do some of my theming work and APK(s) editing and I do not like how Windows is handling all of this. I've got way too much junk spread all over (tools, folders, editing programs, etc) to keep up with all this. I've been reading on Ubuntu and it is the programmer's choice in using to develop apps, themes, and editing APK(s).
I took the tour on Ubuntu and liked a lot of what I saw and thought it was perfect for app development and other stuff. No need to download so many stuff and end up losing track of most of your tools and such.
So, what I did was I did a factory image restore on my Dell Inspiron 1525 with Windows Vista 32 bit 86x and got rid of everything and saved important stuff on my external hard drive. Now I'm debating the use of Ubuntu as the sole system operation or installing along-side of Windows.
What would be necessary for me to do? I hate how Windows handles some of my work and don't see how it will benefit me in continuing my android app development and getting started.
I've also ordered a couple books on Android App Development and Java coding on Android platform. I'm in the process of trying to figure out what would be wise for me to do with Ubuntu here.
Any help is much appreciated. I will be using the books to help me step by step in developing app(s). But I'll take any tips that anyone is willing to give insight on!
just for app development i dont think a linux distro is needed.
if you are going into compiling kernels / compiling android sources you might need at least a VM with linux running afaik(but a full installation of a linux distro would be better i guess).
Personally, I wouldn't ever be without a windows machine. Ubuntu can do almost everything you'll ever need but you just never know when you might need to use a windows program that is not available for linux. So if your laptop is your only computer, I would dual boot for sure. If you have another windows machine, then I guess it doesn't really matter. But umm.. what exactly is your question anyway?
I'm just trying to get a better clarification for using Ubuntu and if it would be more wise to install it along-side Windows Vista (dual boot) or install it as the sole operating system instead of Windows Vista.
I do like Windows Vista for other things but it's been annoying trying to get it to work properly because some tools work better on Linux (Ubuntu).
Also, I had Java SDK, JDK, and latest version of Java on Windows Vista but from other threads or posts I've heard that the Java SDK Manager, along with Eclipse, work a lot better on Ubuntu. But of course there are other mixed reviews from others saying it works better on Windows Vista or Windows 7 (whichever they are using).
I always do research before I go doing something that has the potential of creating regrets (due to errors or not knowing much about this or that) or gets too confusing and become lost in reverting back to the way it was before I did something.
I do have a Windows XP Home Edition desktop (the latest one before Vista came out). Problem is it got the blue screen of death (doing memory dump) and I never really got it to recover from that. I wonder if the desktop Ubuntu disc can write over all that and make it work again, but only as a Ubuntu operating system?
I've always dual booted. Mostly because the games I play on my laptop are windows games. Keep this in mind, when you partition the drives. Linux can read NTFS/FAT, but windows has issues with ext. So don't worry about making a HUGE partition as ext for ubuntu. (I usually make a folder in windows on my c drive to send files back and forth). If you're using Ubuntu, you might want to look into using WUBI, makes installation a breeze.
it is no big deal at all.
it is better to have ubuntu run on the hardware not in VM.
you can have a dual boot
and install Eclipse and the plug-ins which will provide you will tools for android development.

Need advice on setting up linux install

In that I got an idea, took the first step, and am now completely out of my depth.
Let me start at the beginning.
I've always wanted to get into android development, but with the departure of CosmicDan, my recent format of my home computer, and a lucky shot at taking a general development class have all culminated to suggest now's the time.
Here's my objective: Dualcore desktop computer, dualbooting Windows 8 and a flavor of linux focused entirely on being an android toolkit. Here's my problem: I used linux for a week in my highschool networking class most of a decade ago. Red Hat 7 or 8, maybe? Anyway, I know virtually nothing except what I've osmosed from using an ADB shell.
I need to know which flavor of linux is best for android dev, how to set up a dual boot, and after that point, probably step-by-step instructions on establishing a build environment and using github. I'm not completely useless at this, I know how to use google, but a lot of information is outdated and this is a somewhat situational goal.
ANY HELP IS GREATLY APPRECIATED!
Ubuntu!
And google Ubuntu google installer
Sent from my R800i using xda app-developers app
Ubuntu is more user friendly but if you want development I would suggest 1: backtrack 2: arch Linux (for advanced users) 3: fedora
Sent from my R800x using Tapatalk 2
Apparently Backtrack is called Kali Linux now...
"It includes support for the Metasploit Project's Metasploit Framework, a tool for developing and executing exploit code against a remote target machine.[2] It also includes the security tools Wireshark, John the Ripper, Nmap and Aircrack-ng.[2]"
Hahaha hell yes I'll take some of that.
I still think I'll need to install Ubuntu - I don't know how I'd put this particular build on a flash drive. Installing it from inside ubuntu would probably be easiest.
EDIT: Actually they have excellent instructions on the website for setting up a flashdrive.
im using ubuntu just fine
im on ubuntu 10.04 i compile builds fine
Use the Ubuntu wubi installer for dual boot
Sent from my R800i using xda app-developers app
Okay, Kali Linux is installed and operational, programs are updated, and I even figured out how to install Flash via the mysterious powers of 'apt-get'. Using Grub for dual boot, and I found my way around configuring it and populating a new cfg file via the terminal. Whew.
Perhaps 4/20 was a bad choice for learning a new and notoriously complex OS, or maybe it was the best choice.
I guess I'm ready to set up a kitchen, but now I need input again. Do I just 'apt-get' some magical box of android goodies, or is this process more involved?
Edit: The answer is 'more involved', but not by much. I got the kitchen from http://forum.xda-developers.com/showthread.php?t=633246 and I was even able to independantly apt-get my way out of an error without googling it! So, it's running... I guess it's time to start cutting up a ROM. I'm inclined to believe CyanogenMod would be the best starting point for that, and I'm doublefortunate that my roommate has a Nexus he's willing to let me experiment on, as I don't want to navigate the unique structure of Xperias yet.

Categories

Resources