New dev help?

Discussion in 'Android Hacks and Help' started by 13th angel, Mar 29, 2011.

  1. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Not sure where to put this but figured here would be the best place.....

    Like the title says im interested in starting to develop for android (eventually moving up to working on roms for the d2g). However i have no idea where to start. If anyone could kind of point me in the right direction/give me any resources it would be much appreciated. I know how to script and use python as well as a little bit of java but its much the same, dont know where to start to really learn....

    Yes, i know im on the GRD dev team and a member of the beta team. Thats from my helping troubleshoot so the real dev's dont have to take time away from their work.

    Edit: forgot to say I have win7 and Ubuntu 10.10 64bit dual booted and am comfortable with both.
     
    Last edited: Apr 8, 2011
  2. cush2push
    Offline

    cush2push Premium Member Premium Member Developer

    Joined:
    Jul 21, 2010
    Messages:
    673
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Albuquerque NM
    Ratings:
    +6
    few guides i used
    http://android.snkbitten.com/docs/How_to_Build_stock_AOSP-09-21-10.pdf

    https://sites.google.com/site/teamdroidconcepts/experimental/compile

    Android Development Tutorial - Gingerbread

    Using Eclipse | Android Open Source

    i dont think d2g can be built from source though hopefully these can help
     
  3. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Hmm thanks for those links.... I looked around a little on the sdk site but could only find the "hello droid" tutorials.

    I know it caant be compiled from source which is really annoying but still then.....

    Sent from my Liberated D2G
     
  4. zhorik
    Offline

    zhorik New Member

    Joined:
    Jan 29, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wa.
    Ratings:
    +0
    If you have downloaded eclipse they have tutorials on there. I would recommend starting with Java because once you understand Java you will be able to learn other programs for Apps, like Ruby, or Python, very quickly. If you want to start developing I would use JavaDr because it is less bloated. If you want more help you can email me.
     
  5. guidot
    Offline

    guidot Developer Relations Staff Member Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    7,347
    Likes Received:
    274
    Trophy Points:
    198
    Location:
    Massachusetts
    Ratings:
    +274
    I am sure davros (@_davros) and swallisa (@stevewallisa) could be of some help.
     
  6. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Little problem..... following that pdf that Cush2push linked. When i run the repo init to get the the following and it wont grab it.

    any help would be appreciated...

    @guidot, thanks for hooking me up with them on twitter
     
  7. swallisa
    Offline

    swallisa Member

    Joined:
    Aug 18, 2010
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    SoCal
    Ratings:
    +0
    Best guide bar none is droid concepts for aosp here Compile Android Based ROMs - DroidConcepts

    Unfortunately tailored for the Droid1 but invaluable for learning and just need to find device specific instructions after you have everything set up.
     
  8. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Its more of a starting place than i had before i posted this thread lol. Thanks for the link :)

    edit: went to it, same one as the second link Cush had posted lol
     
  9. cush2push
    Offline

    cush2push Premium Member Premium Member Developer

    Joined:
    Jul 21, 2010
    Messages:
    673
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Albuquerque NM
    Ratings:
    +6

    from what i know is the froyo source is no longer available its all gb now

    personally i use CM gb source since all the guess work of getting everything to work has been done and i added my settings menu over it

    Compile CyanogenMod for Sholes - CyanogenMod Wiki
     
  10. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Ty Cush, tried CM's and it worked (not sure if that was because of the reboot or CM).
     
  11. swallisa
    Offline

    swallisa Member

    Joined:
    Aug 18, 2010
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    SoCal
    Ratings:
    +0
    Change aosp source tag from -b froyo to -b android-2.2.2_r1 to get latest froyo source.
     
  12. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    Trying to install eclipse classic 3.6.2. It installs just fine however it will not run. Keep getting this error message....

    I have both java-1.5.0 and java6 installed. When i try to run "sudo update-java-alternatives -s java-1.5.0-sun" i get

    Not sure if theyre connected but i figured they might be....
     
  13. jatx2wne
    Offline

    jatx2wne Premium Member Theme Developer Premium Member

    Joined:
    Feb 20, 2010
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    the Cuse
    Ratings:
    +0
    I'm new to all this but in Terminal if you type sudo update-alternatives --config java
    You will be able to switch which java you are using... Maybe it will be that easy
    Sent from my Droid using Tapatalk
     
  14. 13th angel
    Offline

    13th angel Developer Developer

    Joined:
    Jan 16, 2011
    Messages:
    2,102
    Likes Received:
    1
    Trophy Points:
    103
    Location:
    Auburn, Alabama
    Ratings:
    +1
    I wish, tried that =/

    sent from a D2G with Liberty 2
     
  15. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    south jersey
    Ratings:
    +0
    if you're running cm's source just stick with java 1.6 , you can switch to gb without reconfiguring.
     
Search tags for this page

/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/a

,

file /usr/lib/python2.7/subprocess.py, line 1213, in execute

,
invalid local ndk version 4 choices are current
,
local ndk version