DocumentsContract cannot be resolved
最近项目需求做图片裁切,看书(第一行代码) 按照书上写的,写完之后总是报错
就这样的看了很久,一般这种情况自己总结是类名错了,包名导入错了,但是自己都没有写错呢,
自己吧全部导入的包去掉,看看也没有提示让导包,但是大家看图点击居然能跳转,感觉好奇怪呢
看了一下午才找到原因自己项目的版本太低了,才导致没有让导入包,把项目的版本改成19或以上即可
之后导入包错误就没了,不容易一个简单的问题,弄了一下午 在这里记录下,希望自己以后能认真对待每一件事。
DocumentsContract cannot be resolved相关推荐
- android.provider.documentscontract cannot be resolved.
今天做一个例子的时候报错: The import android.provider.DocumentsContract cannot be resolved 解决方法: SDK Manager安装Ap ...
- styleable cannot be resolved or is not a field
做圆形头像 的时候使用第三方的导入自己的项目中报错误, 错误:styleable cannot be resolved or is not a field 也就是下图 这样的 原因 呢是自己没有细心去 ...
- 解决jsp引用其他项目时出现的 cannot be resolved to a type错误
JSP页面引用其他项目的时候,在jsp页面上写如下代码: <%List<CandleEntity> candleEntities;CandleOperate candleOperat ...
- Eclipse的java代码出错:The import org.apache cannot be resolved
Eclipse中,折腾java代码. 把之前在android中的代码拿过来使用. 结果出现The import org.apache cannot be resolved的错误: [解决过程] 1.这 ...
- Httpservlet cannot be resolved to a type的原因与解决方法
Httpservlet cannot be resolved to a type,显然是Eclipse找不到相应的包,即javax.servlet. 原因: jdk 里不包括servlet-api.j ...
- 项目导入时报错:The import javax.servlet.http.HttpServletRequest cannot be resolved
Error: The import javax.servlet cannot be resolved The import javax.servlet.http.HttpServletRequest ...
- JRBeanCollectionDataSource cannot be resolved to a type 的原因
使用iReporter设计报表,在jsp中调用时,报错,错误信息为: JRBeanCollectionDataSource cannot be resolved to a type 有可能是因为你没有 ...
- 解决 javax.servlet.jsp.JspException cannot be resolved to a type的问题
使用eclipse导入maven项目后出现javax.servlet.jsp.JspException cannot be resolved to a type问题 问题截图 问题原因 没有部署tom ...
- 【Android】JNICALL could not be resolved
JNICALL could not be resolved解决办法 在使用JNI调用原生代码的时候会出现如上的bug 根据实际情况有两种解决办法: 情形一:如果没有添加ndk的C/C++库文件 Pro ...
最新文章
- 大数据分布式集群搭建(7)
- 车辆动力学及控制pdf_Simulink软件仿真平台之车辆模型
- hdu4496并查集的删边操作
- 9.1 mnist_softmax 交叉熵多分类器
- 错误: libstdc++.so.6: cannot open shared object file: No such file or directory
- 计算机硬盘正在工作应特别注意避免,初级计算机考试题库
- spart快速大数据分析学习提纲(一)
- Windows Terminal美化增强指南
- android rxbus github,RxBus的实现及简单使用
- 「LOJ#10015」「一本通 1.2 练习 2」扩散(并查集
- Jaca定时任务-01-进程级别的Timer,ScheduledExecutorService,springtask
- android未验证,主机名未通过验证ANDROID
- Elang之ETS系列函数功能与用法详解
- Linux——Makefile文件
- 关于weight_decay的设定
- 算法题_位运算_9_出现一次的数字和出现k次的数字
- 如何寄送一本武功秘籍
- 我的兄弟姐妹中感人的亲情
- MySQL如何保证高可用
- linux 常用的git命令,git 常用命令详解
热门文章
- 数据结构(01)— 算法复杂度概念及常见的复杂度计算
- 【Sql Server】Database-sql语言的流程控制语句
- 未授予用户在此计算机上的请求登陆类型处理办法
- ModuleNotFoundError: No module named 'tools.nnwrap' pytorch 安装
- 独家 | TensorFlow 2.0将把Eager Execution变为默认执行模式,你该转向动态计算图了...
- 字符串编辑距离(Edit Distance)
- AIFramework框架Jittor特性(下)
- 广泛的信号处理链如何让语音助理“正常工作”
- github checkout 使用
- android studio 导入库提示失败的处理方法以及androidstudio 清理缓存的方法