这个故事是这样的 今天写打卡时间的时候需要获取一下当前时间,然后我就写了一个这个 SimpleDateFormat sDF = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); tring date = sDF.format(Date()); 然后alter+enter包导入 然后就出了一个这个 Call requires API level 24 (current min is 15): android.icu.text.SimpleDat…
在一个导入的项目里修改加入webView的时候设置缩放属性的设置报错: Call requires API level 7 (current min is 1): android.webkit.WebSettings#setLoadWithOverviewMode 原因可能是由于该版本调用的API可能最低是7,高于使用的版本. 解决方法: 右键点击项目->Android tools ->Clear Link Markers.即可解决.…
intellij 出现“Usage of API documented as @since 1.8+”的解决办法 Usage of API documented as @since 1.8+ This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK…
原文链接:http://www.cnblogs.com/cxj20160928/p/5954196.html intellij 出现“Usage of API documented as @since 1.6+”的解决办法 Usage of API documented as @since 1.6+ This inspection finds all usages of methods that have @since tag in their documentation. This may…
reference to : http://blog.csdn.net/hbwindy/article/details/51326019 reference to : http://blog.csdn.net/yangqingqo/article/details/48214865 今天在写网络连接的时候发现API 23中居然找不到HttpClient,官方文档似乎是这样说的. This interface was deprecated in API level 22. Please use op…
参考:https://blog.csdn.net/sinat_36246371/article/details/79738782 在执行git pull的时候,提示当前branch没有跟踪信息: There is no tracking information for the current branch 对于这种情况有两种解决办法,就比如说要操作master吧,一种是直接指定远程master: git pull origin master 另外一种方法就是先指定本地master到远程的mast…
Usage of API documented as @since 1.6+ This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production File ->Proj…
前两天在给OS X 10.11 安装cocoapods时,命令行总是提示"Operation not permitted",我不管是用root用户安装还是查阅网上过去的资料都安装不了cocoapods,开始怀疑是我之前系统的环境变量配置也许出问题了,然后重新安装了OS X 10.11系统,然后并没有什么卵用,最后觉得可能是系统问题,就安装回了OS X 10.10.3 ,果然就安装好了cocoapods,今天在github上也找到了另外一个可能解决OS X 10.11无法安装cocoap…
最近在研究面部识别美白相关的功能.使用的是opencv,就去研究了.今天正好有空就把安装了ndk,安装完成之后就试图去编译demo程序,hellow-jni c代码,一开始编辑就报错了3个错误信息: Type 'jint' could not be resolved Type 'JNIEnv' could not be resolved Type 'jclass' could not be resolved 之后我就网上Google了一下,找到了解决方案,下面将解决方案共享给大家: 在jni项目…