Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,798 Members 48,817 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL ] Beginning development-the easy way

Tip us?
 
ph.miki
Old
#11  
ph.miki's Avatar
Senior Member
Thanks Meter 1014
Posts: 1,637
Join Date: Mar 2011
Location: Belgrade

 
DONATE TO ME
Quote:
Originally Posted by nerot View Post
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

If you like these developments, don't forget to consider
a small donation!!!!!

THANKS BUTTON WILL BE NICE
 
TheBadFish
Old
#12  
TheBadFish's Avatar
Junior Member
Thanks Meter 2
Posts: 11
Join Date: Jun 2008
Location: South West
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: [ Click to Expand ]
 
Gigadroid
Old
#13  
Gigadroid's Avatar
Senior Member
Thanks Meter 394
Posts: 251
Join Date: Dec 2011
Location: Osnabrück

 
DONATE TO ME
Quote:
Originally Posted by nerot View Post
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:
Select 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?

 
sztupy
Old
#14  
sztupy's Avatar
Recognized Developer
Thanks Meter 854
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
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)
 
tenchi19134
Old
#15  
tenchi19134's Avatar
Junior Member
Thanks Meter 3
Posts: 24
Join Date: Jul 2011
Location: Philadelphia
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
 
nerotNS
Old
(Last edited by nerotNS; 1st July 2012 at 08:13 AM.)
#16  
nerotNS's Avatar
Recognized Contributor - OP
Thanks Meter 393
Posts: 1,011
Join Date: Nov 2011
Location: 45.2500° N, 19.8500° E (Novi Sad)

 
DONATE TO ME
Quote:
Originally Posted by sztupy View Post
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
My devices:




 
nerotNS
Old
#17  
nerotNS's Avatar
Recognized Contributor - OP
Thanks Meter 393
Posts: 1,011
Join Date: Nov 2011
Location: 45.2500° N, 19.8500° E (Novi Sad)

 
DONATE TO ME
Quote:
Originally Posted by Gigadroid View Post
How do I find out what the path is from my device?
Google is your friend

Sent from my Optimus Me using xda premium
My devices:




 
nerotNS
Old
(Last edited by nerotNS; 1st June 2012 at 11:24 PM.)
#18  
nerotNS's Avatar
Recognized Contributor - OP
Thanks Meter 393
Posts: 1,011
Join Date: Nov 2011
Location: 45.2500° N, 19.8500° E (Novi Sad)

 
DONATE TO ME
Quote:
Originally Posted by TheBadFish View Post
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
My devices:




 
Insidious
Old
#19  
Insidious's Avatar
Senior Member
Thanks Meter 255
Posts: 1,126
Join Date: Mar 2011
Location: Southern Maryland
I'll try this on my six core seeing as it would make a perfect devving machine.
Lumia 928
 
lilott8
Old
#20  
Junior Member
Thanks Meter 1
Posts: 23
Join Date: Apr 2009
Default just following

Just posting here to follow. I will have to try this tonight. This looks awesome!

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

Advanced Search
Display Modes