解决 Activity cannot be resolved to a type
来源:互联网 发布:forespider软件 编辑:程序博客网 时间:2024/05/29 13:14
原因:之前写的有语法问题,手贱把import 包的语句给删除了,最后虽然修复了语法问题,但是却编译无法通过
解决方法:重新自动添加包
步骤:
win:ctrl+shift+o;
mac:clover+shift+o;
然后在第一行加入包名
如图即可,重新编译通过
0 0
- 解决 Activity cannot be resolved to a type
- activity cannot be resolved to a type
- 解决cannot be resolved to a type
- 解决 the error "...cannot be resolved to a type.."
- 解决 eclipse autowire cannot be resolved to a type
- cannot be resolved to a type解决方案
- httpservletrequest cannot be resolved to a type
- cannot be resolved to a type
- cannot be resolved to a type
- Intent cannot be resolved to a type
- SuppressLint cannot be resolved to a type
- Cocos2dxActivity cannot be resolved to a type
- “cannot be resolved to a type” error
- String cannot be resolved to a type
- * cannot be resolved to a type/variable
- Httpservlet cannot be resolved to a type
- MapActivity cannot be resolved to a type
- ProcessEngine cannot be resolved to a type
- python 中神奇的函数参数传递
- CCombobox使用大全
- 体验成员函数
- goto
- dev控件TextEdit的mask设置结合控件的Validated事件来控制身份证录入正确并从中取值生成性别、生日
- 解决 Activity cannot be resolved to a type
- CComboBox下的GetCurSel()
- 活着而已
- cocos2dx3.0进行android编译apk安装包的一些经验总结
- 程序员面试数学与智力题
- svn: Could not use external editor to fetch log message; 问题解决
- MD5util
- java.sql.SQLException: Field 'id' doesn't have a default value
- Jquery Mobile中文网站