android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
16lz
2022-03-13
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
提示如上的错误,并且注意到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文件夹,问题解决。package com.jay.test.activity;
更多相关文章
- 【Android学习笔记】AutoCompleteTextView(数组在代码中)
- Android(安卓)Studio自带模拟器读写SDcard不成功的解决办法
- Android自动提示文本框(AutoCompleteTextView)
- Android控件开发之四----ListView(1)
- [Android] 无法创建项目问题解决
- Android(安卓)自定义CheckBox 样式
- Android(安卓)ListView 去除边缘阴影、选中色、拖动背景色等
- android 下改变默认的checkbox的 选中 和被选中 图片
- Android(安卓)常用的提示框,输入框,弹窗