Skip to content Skip to sidebar Skip to footer

How To Load Com.android.music Code Into Eclipse And Compile?

I did a git on the com.android.music app and then created a project in eclipse from existing code. I chose 2.1 as the sdk target but I am getting errors trying to compile. Is the

Solution 1:

Is the music app referencing code that is not part of the 2.1 sdk?

Absolutely. Most of the built-in apps for Android were created before there was an SDK. You will not be able to build them in isolation from the rest of the firmware without substantial work. Work which, BTW, would be welcome contributions back to the Android open source project, if you were so inclined... :-)

Solution 2:

Check the applications manifest file. It will contain an attribute stating which version of the SDK the application was built with.

Post a Comment for "How To Load Com.android.music Code Into Eclipse And Compile?"