![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误解决
含笑饮毒酒_
这个作者很懒,什么都没留下…
展开
-
mysql不用密码也能登录的三种原因
mysql不用密码也能登录的三种原因一、user表plugin字段错误二、user表里存在user为""的用户三、刚开始不需要密码,后来需要密码一、user表plugin字段错误plugin字段改为’mysql_native_password’即可避免无密码登录:// An highlighted blockmysql> update mysql.user set plugin = 'mysql_native_password' where user = 'root' and host='lo原创 2020-08-03 16:58:13 · 3686 阅读 · 0 评论 -
java.lang.IllegalArgumentException:Service Intent must be explicit:Intent{act=org.opencv.engine.BIND
这是由于Android到了5.0版本也就是api>=21以后的一些新特性造成的。这时只需要改一下你的opencv library工程的org.opencv.android.AsyncServiceHelper的initOpenCV方法为如下:public static boolean initOpenCV(String Version, final Context AppContext,原创 2016-10-13 15:53:05 · 2116 阅读 · 1 评论 -
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme
翻译自:http://stackoverflow.com/questions/21814825/you-need-to-use-a-theme-appcompat-theme-or-descendant-with-this-activity 中Bobbake4的回答:The reason you are having this problem is because the acti翻译 2016-10-13 15:42:22 · 740 阅读 · 0 评论