Click here to Skip to main content
14,218,216 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am using Ubuntu 14.04 and I've taken last source code of Android by following the instructions from the official website of Android: http://source.android.com/source/downloading.html.

I also followed the instructions for installing other programs that are required for build Android source code: http://source.android.com/source/building.html.

To build the Android source code I follow instructions from http://source.android.com/source/building-running.html.

Build has not been done successfully without installing some additional programs that I have taken through the forums by asking why not Android source code build successfully.

After build successfully image is created in out/target/produkt/generic/system.img, then I opened the emulator by written the command "emulator" in terminal.

My question is what is the correct way to import or open the Android source code into Eclipse or Android Studio to start working, because when I import projects of Android source code in Eclipse. I have errors with this ways:

1.Create an empty java project. Properties>Java Build Path>Source>Link Source>Android folder path.
2.File>new>java project> Location: Android folder path.
3.Import>Android>Existing Android Code into Workspace>Root Directory: Android Folder.
Posted
Comments
Richard MacCutchan 18-Jun-14 6:36am
   
Since you are getting all this code from the same website (http://source.android.com) it may make more sense to post your question there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100