Post Reply

[TUTORIAL ] Beginning development-the easy way

1st June 2012, 09:53 AM   |  #11  
ph.miki's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 1,014
 
1010
1,637 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by nerot

I don't know but it's surely different for odin(I'm not sure that you can).And I don't know on mac either since I use ubuntu and windows. You can look up info on this on the official Android dev website.

Sent from my Optimus Me using xda premium

Odlicno objasnjeno za pocetnike. Svaka cast
1st June 2012, 05:13 PM   |  #12  
TheBadFish's Avatar
Junior Member
Flag South West
Thanks Meter: 2
 
11 posts
Join Date:Joined: Jun 2008
Good Beginners Guide. Thank you.

But 90% of it can also be found here:
http://source.android.com/source/initializing.html
This is what i used to build android for the pandaboard a few weeks ago.

And then I have a few questions.

1.
Why do you compile git when you can also download it from apt-sources? Imho this is just confusing for beginners.

2.
Where do you use git in your tutorial?

3.
Didn't you forget lunch and make at the very end of your tutorial?
". build/envsetup.sh" only sets up the environment, imho
(see also here: http://source.android.com/source/building.html)
The Following User Says Thank You to TheBadFish For This Useful Post: [ View ]
1st June 2012, 08:04 PM   |  #13  
Gigadroid's Avatar
Senior Member
Flag Osnabrück
Thanks Meter: 404
 
251 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Quote:
Originally Posted by nerot

First you will need to get proprietary drivers from your device.
Connect your device via USB and enter the following commands (from the root of your source repository):


Code:
cd device/xxx/xxx where x is the path to your device
./extract-files.sh
cd ../../..

How do I find out what the path is from my device?
1st June 2012, 08:23 PM   |  #14  
sztupy's Avatar
Recognized Developer
Flag London
Thanks Meter: 856
 
1,054 posts
Join Date:Joined: Dec 2008
Donate to Me
More
I would add the option to install Ubuntu in a VM. Both VMWare player and VirtualBox are free and well supported. This way one can actually create some pre-packaged images with which one can start development right away. In fact I've already made two of them a year ago (one for Froyo and one for Gingerbread):

http://forum.xda-developers.com/showthread.php?t=881845
http://forum.xda-developers.com/show....php?t=1022407

One might also make on for ICS (for that Ubuntu 12.04 is also good, and since VMWare Player is free one could use that instead of VirtualBox, as VMWP has more user-friendly features)
1st June 2012, 09:05 PM   |  #15  
tenchi19134's Avatar
Junior Member
Flag Philadelphia
Thanks Meter: 3
 
24 posts
Join Date:Joined: Jul 2011
More
If I had a nickle for every time I've seen a thread like this, I would have... a nickle.

Thank you from the bottom of my /dev/hda1
1st June 2012, 11:10 PM   |  #16  
nerotNS's Avatar
OP Recognized Contributor
Flag 45.2500° N, 19.8500° E (Novi Sad)
Thanks Meter: 394
 
1,011 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by sztupy

I would add the option to install Ubuntu in a VM. Both VMWare player and VirtualBox are free and well supported. This way one can actually create some pre-packaged images with which one can start development right away. In fact I've already made two of them a year ago (one for Froyo and one for Gingerbread):

http://forum.xda-developers.com/showthread.php?t=881845
http://forum.xda-developers.com/show....php?t=1022407

One might also make on for ICS (for that Ubuntu 12.04 is also good, and since VMWare Player is free one could use that instead of VirtualBox, as VMWP has more user-friendly features)

True however unless you have a LOT of ram and a hexa-core CPU compilation under a vm is significantly slower and that's why I didn't add it.But the procedure is the same anyway.

Sent from my Optimus Me using xda premium
Last edited by nerotNS; 1st July 2012 at 08:13 AM.
1st June 2012, 11:12 PM   |  #17  
nerotNS's Avatar
OP Recognized Contributor
Flag 45.2500° N, 19.8500° E (Novi Sad)
Thanks Meter: 394
 
1,011 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by Gigadroid

How do I find out what the path is from my device?

Google is your friend

Sent from my Optimus Me using xda premium
1st June 2012, 11:15 PM   |  #18  
nerotNS's Avatar
OP Recognized Contributor
Flag 45.2500° N, 19.8500° E (Novi Sad)
Thanks Meter: 394
 
1,011 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by TheBadFish

Good Beginners Guide. Thank you.

But 90% of it can also be found here:
http://source.android.com/source/initializing.html
This is what i used to build android for the pandaboard a few weeks ago.

And then I have a few questions.

1.
Why do you compile git when you can also download it from apt-sources? Imho this is just confusing for beginners.

2.
Where do you use git in your tutorial?

3.
Didn't you forget lunch and make at the very end of your tutorial?
". build/envsetup.sh" only sets up the environment, imho
(see also here: http://source.android.com/source/building.html)

1.Idk I found this thing simple as well

2.I will review it later since I'm on my phone now and its 00:13 here :P

3.I don't think it's necessary since I use the same procedure for my rom compilation. I will add it tough just in case someone gets an error.Thanks for the tip.

Sent from my Optimus Me using xda premium
Last edited by nerotNS; 1st June 2012 at 11:24 PM.
3rd June 2012, 12:35 AM   |  #19  
Insidious's Avatar
Senior Member
Flag Southern Maryland
Thanks Meter: 255
 
1,126 posts
Join Date:Joined: Mar 2011
More
I'll try this on my six core seeing as it would make a perfect devving machine.
12th June 2012, 03:41 PM   |  #20  
Junior Member
Thanks Meter: 1
 
23 posts
Join Date:Joined: Apr 2009
just following
Just posting here to follow. I will have to try this tonight. This looks awesome!

Post Reply Subscribe to Thread

Tags
compile, development, easy, source
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank