报错:”Gradle error : Write access is allowed from event dispatch thread only in android studio
来源:互联网 发布:门户网站源码下载 编辑:程序博客网 时间:2024/05/17 06:21
最近换电脑了,新安装了一个android studio 编译原来的工程发现出现了
Gradle error : Write access is allowed from event dispatch thread only in android studio错误
去百度了一通,发现找不到答案,在stackoverflow中发现答案:
So the problem was concluded in that android studio conflicted with my installed jdk version, so it was resolved when i checked jdk location (Project Structure -> SDK Location), ticked 'Use embedded JDK' checkbox and set jdk location to 'path to android studio'\Android Studio\jre
翻译过来就是:给当前的android studio的jdk换个版本,使用android studio 自带的jre,因为自己电脑安装的jdk版本和android studio sdk版本冲突。
3 0
- 报错:”Gradle error : Write access is allowed from event dispatch thread only in android studio
- 报错:”Gradle error : Write access is allowed from event dispatch thread only in android studio
- 报错:”Gradle error : Write access is allowed from event dispatch thread only in android studio
- Gradle error : Write access is allowed from event dispatch thread only in android studio
- Android studio创建project时出现报错:”Gradle error : Write access is allowed from event dispatch thread only
- android studio 报Write access is allowed from event dispatch thread only
- Write operations are not allowed in read-only tomcat报错
- Spring+Hibernate报错:Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL)
- 保存数据报错Write operations are not allowed in read-only mode (FlushMode.MANUAL)
- android studio gradle编译报错:it is currently in use by another gradle instance
- android studio报错:Gradle sync failed: Cause: error in opening zip file
- Android studio打包签名报错:Error:(3) Error: "app_name" is not translated in "am" (Amharic);
- Android Studio报错之Error:(1, 0) Minimum supported Gradle version is 3.3. Current version is 2.10. Ple
- Android studio更新后项目报错Error:android-apt plugin is incompatible with the Android Gradle plugin. Pleas
- PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the Eve
- 使用第三方框架的时候报“synthesize of ‘weak’ property is only allowed in ARC or GC mode”错
- 报错error C3872: '0x3000': this character is not allowed in an identifier
- Spring AOP报错 error at ::0 name binding only allowed in target, this, and args pcds
- C#版本的MyBatis( C#解析XML文件并且获取SQL语句)
- 3D Touch 的实现和系统分享功能
- springmvc4 mybatis 整合 框架源码 SSM
- 《活着》----读书笔记
- 语法错误 : 缺少“;”(在“类型”的前面)”—— C语言标准
- 报错:”Gradle error : Write access is allowed from event dispatch thread only in android studio
- 一段Java程序的生命史
- 别总抱怨孩子成绩差,其真正根源在这儿
- freeline加速编译
- 关于环信在自定义(扩展)文本消息样式的问题
- centos nginx 之网站根目录路径修改
- Linux system函数返回值
- Houdini把四边面转成三角面
- AndroidStudio导入Android源码