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

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

问题描述

我做了一个混帐的com.android.music 应用程序,然后从现有的code创建项目在Eclipse中。我选择了2.1的SDK目标,但我得到的错误试图编译。

时的音乐应用程序引用code,是不是2.1 SDK的一部分?有人能列出如何在Eclipse编译步骤?

描述资源路径位置类型
ArrayListCursor不能被解析为一个类型PlaylistBrowserActivity.java音乐/ SRC / COM /安卓/音乐线529 Java问题
媒体文件无法解析AlbumBrowserActivity.java


解决方案

  

时的音乐应用程序引用code,它
  不是2.1 SDK的一部分?


当然可以。大多数为Android内置的应用程序进行之前有一个SDK创建。你将不能够孤立地建立他们的固件没有实质性的工作休息。工作当中,顺便说一句,会受到欢迎的贡献回到了Android开源项目,如果你是这样的倾向...: - )

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

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

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