I would like to get into developing I looked at a few tutorials and learned that first i need a Linux system. Which Linux OS would be the best to use for developing? I've always used Ubuntu/Linux Mint but I stopped using them since Windows 7 took over all my systems. The tutorials that I've seen navigated me to a site called source.android.com which has a decent guide that shows how to set up a Linux system ready for developing.
This might help you to get you started
http://forum.xda-developers.com/showthread.php?t=1257297
Related
I'm trying to set up an environment on my Desktop for compiling applications for the Droid. I have tried everything I've seen for setting up this environment, but all of the guides I've seen seems to be a few years old and are either broken or the instructions are so out dated that they no longer apply. Does anybody have the steps needed to get this working?
I have access to numerous Linux boxes running different distros. Offhand I have access to Fedora 11, CentOS 4 and 5, Debian Lenny, and *shudder* Gentoo. If your instructions are for a specific distro, chances are I can get a box set up with it so send them along please
Any advice on getting this set up would be appreciated.
Moving to Android Development, since this seems kinda Androidy. Let me know if you disagree!
I seem to have solved my own problem on this one, but for anyone else that is interested, I ended up using an application called scratchbox, I got it at http://www.scratchbox.org/ and followed the instructions in their documentation. It uses qemu to emulate the ARM processor. For the Droid I used the arm7 toolchain package. Once I had it installed I ran it and was able to compile for the ARM without a problem, just make sure to remember to use STATIC=1 when you run your make, otherwise you will get "not found" error when running on the device.
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.
any helpful links or guides or tips are helpful I am aware i will have to run linux I have all the software but just need some help getting started as I am very computer smart but this is new & just trying to do something I have never done before thanks for all the help upfront also I am running a 64 bit windows 7 I know I need to use virtual box & all of that
building android requires linux, i have no clue on cygwin working but from what im aware you need a linux build enviroment
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.
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.