Thursday 31 December 2009

Windows: How to attach debugger to Android framework source code

Browsing and stepping through the android sources is a great way of learning the Android API. However, setting up your development environment to do this is not as easy and straight forward as it should be (more so on windows).
You will need to jump over two hurdles...

  1. Download the sources


    • You will need Git tool to pull down sources onto your computer. I got the windows port of Git from http://code.google.com/p/msysgit/
    • From a folder of your choice..


      •  git clone git://android.git.kernel.org/platform/frameworks/base.git will download the "platform/frameworks/base.git" onto you computer. 


    • http://android.git.kernel.org/ lists all the android projects you could download


  2. Attaching sources to eclipse




No comments:

Post a Comment

Blog Archive

Followers