![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
二次蓝
这个作者很懒,什么都没留下…
展开
-
Android Studio 4.1 有些插件报错无法使用 Plugin “*“ is incompatible (supported only in IntelliJ IDEA).
问题Plugin “Smalidea” is incompatible (supported only in IntelliJ IDEA).Plugin “FindViewByMe” is incompatible (supported only in IntelliJ IDEA).插件尚未更新,无法使用。但是在 Plugins 里也看不到这两个插件,无法卸载。解决办法在 C:\Users\Administrator\AppData\Roaming\Google\AndroidStudio4.1\原创 2020-10-17 22:49:41 · 6237 阅读 · 3 评论 -
new ViewModelProvider(this)中this报错
//MyViewModel myViewModel = ViewModelProviders.of(this).get(MyViewModel.class); // 已弃用MyViewModel myViewModel = new ViewModelProvider(this).get(MyViewModel.class); // this报错new ViewModelProvider(this)中this报错,是因为没有该构造方法。可以转而使用:MyViewModel myViewM原创 2020-10-14 23:28:44 · 3234 阅读 · 2 评论 -
Android SDK打开monitor.bat报错:Windows找不到文件'lib\monitor-location'。请确定文件名是否正确后,再试一次。
之前正常,然后想到昨晚一个java update了,加之搜了一下验证了自己的想法。解决方法:重新设置一下系统变量即可。因为我昨晚更新了java,所以看了一下我的系统变量classpah,复制其中的jre地址到资源管理器中看一下,果然文件不存在了(jre文件夹是包含版本号命名的:如C:\Program Files (x86)\Java\jre1.8.0_241),复制C:\Program Fil...原创 2020-01-16 09:24:29 · 3411 阅读 · 1 评论