相关疑难解决方法(0)

由于未解决的类型,ApiDemos 3.0/3.1将无法构建

我正在尝试为API级别11(3.0)和12(3.1)构建ApiDemos.我已将最新版本的工具(版本11)和平台工具(版本4)更新到最新版本.另外,我安装了兼容包.

当我尝试构建ApiDemos项目时,我收到了数千个错误,其中Eclipse显示以下100个错误:

ActionBar cannot be resolved to a type  ActionBarDisplayOptions.java    /ApiDemos3.1/src/com/example/android/apis/app   line 34 Java Problem

ActionMode cannot be resolved to a type Grid3.java  /ApiDemos3.1/src/com/example/android/apis/view  line 133    Java Problem

alertDialogIcon cannot be resolved or is not a field    AlertDialogSamples.java /ApiDemos3.1/src/com/example/android/apis/app   line 82 Java Problem

animator cannot be resolved or is not a field   FragmentHideShow.java   /ApiDemos3.1/src/com/example/android/apis/app   line 55 Java Problem

Animator cannot be resolved to a type   AnimationLoading.java   /ApiDemos3.1/src/com/example/android/apis/animation line 73 Java Problem
Run Code Online (Sandbox Code Playgroud)

我需要帮助让样本正确构建.谢谢.

java android

3
推荐指数
1
解决办法
6348
查看次数

标签 统计

android ×1

java ×1