tags:

views:

49

answers:

2

I downloaded the Android SDK and the Eclipse Plugin and installed them. When I however use the "Open Declaration" in Eclipse on basic Android functions and classes such as setOnClickListener or ListActivity it gives me an "Source not found"-Error.

The total Android source code seems to be 2.1 GB. Where do I get the source code of those functions that I call with the API to integrate it into Eclipse?

A: 

The source code is not included with the sdk. If you wish to debug/use android source you need to download it separately from the sdk. It can be found on google's official site here. This site also contains important information about using their source code that you should read.

Was this helpful?

mtmurdock
Your link goes to a page about contributing to the source. That's not what I want. I just want to feel like I'm not using black boxes.When I for example download JDK there an extra link to load the documentation and to load the source code at http://java.sun.com/javase/downloads/index.jsp. I would want to have something of a similar structure for android.
Christian
i believe the site i provided includes the actual source code as well as some tools for using it. If you look on the left side it says "getting the source" which takes you here: http://source.android.com/source/download.html
mtmurdock
+1  A: 

Check this issue. There is a lot of links explaining how to do it.

Macarse