android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files - The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files


Multiple markers at this line
- The type java.lang.Class cannot be resolved. It is indirectly referenced from
required .class files
- The type java.lang.String cannot be resolved. It is indirectly referenced from
required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from
required .class files


package com.jay.test.activity;

提示如上的错误,并且注意到project中没有了android2.2的jar包了。 解决办法:在package explorer中右键自己的project名,build path,config build path,左边一列中选android,project build target中显示已经选中了android2.2,重新选择一个别的,比如android2.3.1,确认后再重新修改回android2.2,打开菜单栏的project,clean,选中自己的project名字,确定,清理会删除gen文件夹,然后自动重新build project(右下角有提示),完毕重新生成了gen文件夹,问题解决。

更多相关文章

  1. 【Android学习笔记】AutoCompleteTextView(数组在代码中)
  2. Android(安卓)Studio自带模拟器读写SDcard不成功的解决办法
  3. Android自动提示文本框(AutoCompleteTextView)
  4. Android控件开发之四----ListView(1)
  5. [Android] 无法创建项目问题解决
  6. Android(安卓)自定义CheckBox 样式
  7. Android(安卓)ListView 去除边缘阴影、选中色、拖动背景色等
  8. android 下改变默认的checkbox的 选中 和被选中 图片
  9. Android(安卓)常用的提示框,输入框,弹窗

随机推荐

  1. 5.4 Android 的上下文菜单: Context Menu
  2. 转载:在 ANDROID DIALOG中使用AUTOCOMPLET
  3. Unity3d Free【IOS Android WP8 Xbox】
  4. 安装android studio之后无法直接打开SDK
  5. Android(安卓)RecyclerView 间距全适配
  6. 第1章 Android简介与开发环境的配置
  7. Android 画图 之 Matrix(二)
  8. 05Android Studio使用插件推荐
  9. android 从相册中获取图片设置成头像的问
  10. Android外置存储备忘