当前位置: 首页 > news >正文

邢台网站建设服务武汉seo顾问

邢台网站建设服务,武汉seo顾问,wordpress图片超链接,网页制作和网页制作技术关于作者:CSDN内容合伙人、技术专家, 从零开始做日活千万级APP。 专注于分享各领域原创系列文章 ,擅长java后端、移动开发、商业变现、人工智能等,希望大家多多支持。 未经允许不得转载 目录 一、导读二、 推荐阅读 一、导读 遇到…

关于作者:CSDN内容合伙人、技术专家, 从零开始做日活千万级APP。
专注于分享各领域原创系列文章 ,擅长java后端、移动开发、商业变现、人工智能等,希望大家多多支持。
未经允许不得转载

目录

  • 一、导读
  • 二、 推荐阅读

在这里插入图片描述

ddd

一、导读

遇到的一个比较坑的问题记录,真是一坑还比一坑深。

从github下载了一个开源库,导入studio后报如下错:

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.

本来想快速无脑解决,通过搜索引擎尝试别的解决方式,点击setting - plugin - 找到 kotlin - 然后disable。

然后问题就来了,连android studio都启动不了,真是一个超级坑,

报错信息如下:

Internal error. Please refer to https://code.google.com/p/android/issuescom.intellij.diagnostic.PluginException: Fatal error initializing 'com.vladsch.md.nav.MdPlugin' [Plugin: com.vladsch.idea.multimarkdown]at com.intellij.serviceContainer.ComponentManagerImpl.handleInitComponentError$intellij_platform_serviceContainer(ComponentManagerImpl.kt:571)at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:59)at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:77)at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:394)at com.intellij.serviceContainer.ComponentManagerImpl$createInitOldComponentsTask$1.invoke(ComponentManagerImpl.kt:392)at com.intellij.idea.ApplicationLoader$initApplicationImpl$appInitializedListeners$1$1$2$1.invokeSuspend(ApplicationLoader.kt:139)at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:389)at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.NoSuchMethodError: 'void com.intellij.openapi.editor.colors.EditorColorsManager.addEditorColorsListener(com.intellij.openapi.editor.colors.EditorColorsListener, com.intellij.openapi.Disposable)'at com.vladsch.md.nav.MdPlugin.initComponent(MdPlugin.kt:130)at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:45)... 25 more-----
Your JRE: 17.0.6+0-b2043.56-10027231 amd64 (JetBrains s.r.o.)
E:\AS\jbr

这样问题就变成了如何启动 android studio工具,经历了删除各种studio缓存,卸载重装都没用,

最后终于找到一种行之有效的方法

Windows:

Just delete this file (or delete the last disabled plugin(s) in this file):C:\Users\%USERNAME%\.AndroidStudio<version>\config\disabled_plugins.txt
If you can't find this address try this on Windows:C:\Users\%USERNAME%\AppData\Roaming\Google\AndroidStudio<version>\disabled_plugins.txt
If you are using Windows 11 The App data folder is hidden and needs to be prompted(search how to take out the missing app data folder in Windows 11) Then go to the exact location as earlier mentioned and delete that file

macOS:

Delete or modify this file through this address:/Users/%USERNAME%/Library/Application Support/Google/AndroidStudio<version>/disabled_plugins.txt

Linux:


Delete or modify this file through this address:/home/%USERNAME%/.config/share/Google/AndroidStudio<version>/disabled_plugins.txt

问题解决,我们再回到kotlin 版本不对应的问题上来, 每个人的环境不一样,所以我们也只能说按照一些固定的方法来尝试

  1. 修改 gradle jdk的版号,如jdk8 jdk11

settings - build, execution … - build tools
在这里插入图片描述

For someone who is still looking for answer to this, here is the working solution for this problem.
In your project level open build.gradle file, increase the ext.kotlin_version from whatever current version
that you have like 1.5.0, to the latest stable version 1.6.0 (Whatever is latest at that time). Thanks

You can get latest version from here:

https://kotlinlang.org/docs/releases.html#release-details

二、 推荐阅读

Java 专栏

SQL 专栏

数据结构与算法

Android学习专栏

未经允许不得转载

http://www.hkea.cn/news/819716/

相关文章:

  • 建设一个网站需要哪些方面的开支百度人工客服
  • 品牌网站建设-建站之路最新疫情新闻100字
  • 东莞网站优化科技有限公司怀柔网站整站优化公司
  • 郑州网站建设联系方式外链是什么意思
  • 用wordpress做网站教程电脑优化大师有用吗
  • 佛山企业网站制作今日热点新闻事件
  • 企业网站网络推广黑帽seo培训
  • 欧美做的爱爱网站有哪些广告推广赚钱
  • 泉州网站建设工作室谷歌seo价格
  • 国建设委员会网站百度推广一天烧几千
  • 做网站 花园路国贸营销推广方案包括哪些内容
  • 做商城网站哪里买口碑营销属于什么营销
  • 鞋子 东莞网站建设真正的免费建站在这里
  • 网站上微信的链接怎么做项目平台
  • 做网站后有人抢注关键词网络营销方案策划论文
  • 苏州网站建设网站seo优化的方法
  • 设计网装修seo顾问服
  • 网站ip拦截免费网站搭建平台
  • 深圳企业网站建设公司快速申请免费个人网站
  • 唯品会 一家专门做特卖的网站沈阳seo按天计费
  • 聊城手机网站建设郑州seo服务技术
  • 个人定做衣服店江门seo推广公司
  • 网站开发与网站建设山东济南seo整站优化费用
  • 香港疫情最新消息今天深圳seo教程
  • 维护一个网站难吗免费发布外链
  • 南安市网站建设成都今天重大新闻事件
  • 网站后台补丁如何做软文有哪几种类型
  • 网站建设的费用包括哪些内容资讯门户类网站有哪些
  • 一站式服务图片制作网页的基本步骤
  • 个人网站建设网站网络网站推广