开发者

How to load com.android.music code into Eclipse and compile?

开发者 https://www.devze.com 2022-12-22 16:03 出处:网络
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.

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 music app referen开发者_JS百科cing code that is not part of the 2.1 sdk? Can someone list the steps for how to compile in eclipse?

Description Resource Path Location Type ArrayListCursor cannot be resolved to a type PlaylistBrowserActivity.java Music/src/com/android/music line 529 Java Problem MediaFile cannot be resolved AlbumBrowserActivity.java


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... :-)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号