如何将com.android.music代码加载到Eclipse并编译? [英] How to load com.android.music code into Eclipse and compile?

查看:137
本文介绍了如何将com.android.music代码加载到Eclipse并编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在com.android上做了一个 git。音乐应用程序,然后从现有代码在eclipse中创建一个项目。我选择2.1作为sdk目标,但是我收到错误尝试编译。

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.

音乐应用程序引用的代码不是2.1 sdk的一部分?有人可以列出如何在eclipse中编译的步骤?

Is the music app referencing code that is not part of the 2.1 sdk? Can someone list the steps for how to compile in eclipse?

说明资源路径位置类型
ArrayListCursor无法解析为类型PlaylistBrowserActivity .java音乐/ src / com / android / music line 529 Java问题
MediaFile无法解析AlbumBrowserActivity.java

推荐答案


音乐应用程序是否引用代码
不是2.1 sdk的一部分?

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

绝对Android的大部分内置应用都是在SDK之前创建的。如果没有实质性的工作,您将无法与其他固件隔离建立它们。如果您有这样的倾向,BTW将欢迎您对Android开源项目做出贡献: - )

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

这篇关于如何将com.android.music代码加载到Eclipse并编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆