阅读 2364

AndroidStudio4.2 升级踩坑

andoidstudio4.2 报错

Execution failed for task ':app:compileDebugJavaWithJavac'. 
> javax/xml/bind/JAXBException
复制代码

原生项目解决方案

JDK路径配置

7D1075F8-858D-446F-8CDC-D98FB7166E57.png

image.png

插件路径修改

在Android studio 4.2中plugin目录发生了变化

Plugin folder has changed in 4.2 version;

From : ~/Library/Application\ Support/AndroidStudio4.2

To: ~/Library/Application\ Support/Google/AndroidStudio4.2/plugins

ln -s ~/Library/Application\ Support/Google/AndroidStudio4.2/plugins ~/Library/Application\ Support/AndroidStudio4.2

复制代码

未解决的问题:Flutter 仍然报错

文章分类
Android
文章标签