我是靠谱客的博主 糊涂西装,这篇文章主要介绍‘com.sun.tools.javac.util.Context‘ class can‘t be found (‘tools.jar‘ is absent in the plugin classpa'com.sun.tools.javac.util.Context' class can't be found ('tools.jar' is absent in the plugin classpath). Kapt won't work,现在分享给大家,希望可以做个参考。

Android studio运行时抛异常

'com.sun.tools.javac.util.Context' class can't be found ('tools.jar' is absent in the plugin classpath). Kapt won't work

检查JDK路径是不是有特殊符号,比如+。

本人Mac 使用HomeBrew安卓的openjdk@8,其中有路径名为1.8.0+282,把+改成_,

解决上面的问题。

最后

以上就是糊涂西装最近收集整理的关于‘com.sun.tools.javac.util.Context‘ class can‘t be found (‘tools.jar‘ is absent in the plugin classpa'com.sun.tools.javac.util.Context' class can't be found ('tools.jar' is absent in the plugin classpath). Kapt won't work的全部内容,更多相关‘com.sun.tools.javac.util.Context‘内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(136)

评论列表共有 0 条评论

立即
投稿
返回
顶部