I’ve cloned Gallery project from source https://android.googlesource.com.
Then I’ve added it to Eclipse.
This project contains two static libraries (Java files and Android.mk). Those libraries are build using Android.mk file. Those libraries aren’t visible for Eclipse – Classes from those libraries are used in code but it can’t find sources for them.
Is there any way to build that application using Eclipse with all benefits of doing that?
By ‘static libraries’ do you mean jar files? If so, you need to add them to the project build path, under the ‘libraries’ tab. (Right-click project, select ‘Properties’, click ‘Java Build Path’).