导入com.android.datetimepicker无法解析 [英] The import com.android.datetimepicker cannot be resolved

查看:345
本文介绍了导入com.android.datetimepicker无法解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将一个现有的Android项目导入Eclipse,但是我在以下导入中收到错误:

I've imported an existing Android project to Eclipse, but I'm getting errors on the following imports:

import com.android.datetimepicker.time.RadialPickerLayout;
import com.android.datetimepicker.time.TimePickerDialog;

我已经有 android-support-v4.jar 库添加到构建路径。
任何人都可以帮我找出缺少的东西?

I already have the android-support-v4.jar library added to the build path. Could anybody help me to figure out what is missing?

推荐答案

Android SDK中都没有这些类。正如其他人所说,在 TimePickerDialog =nofollow>不同的包 Android源代码,欢迎您尝试使用它。

Neither of those classes exist in the Android SDK. There is a TimePickerDialog, as others have noted, in a different package. There is a RadialPickerLayout in the Android source code, and you are welcome to try to use it.

真的,你应该和谁编写这个Android项目交谈,并询问他们正在计划从哪里获得这些课程。

Really, you should be talking to whoever wrote this Android project and asking them where they were planning on getting those classes from.

这篇关于导入com.android.datetimepicker无法解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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