Click here to Skip to main content
15,867,190 members
Please Sign up or sign in to vote.
3.00/5 (1 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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900