Android Studio Bumblebee 破坏了 build.gradle.kts
我最近升级到 android studio bumblebee,并且在使用嵌入式 jdk 时,IDE 没有拾取我的所有 .kts
文件。该项目仍然可以正常构建,但我无法正确编辑这些文件,因为 ide 无法识别它们。
如果我将 jdk 版本切换到 1.8 那么一切都会正常工作,但我想使用 java 11,因为那是android studio 推荐什么。
这就是我的 buildSrc 的样子
这是 android studio bumblebee 和嵌入式 jre 的已知问题还是我在这里遗漏了一些东西?
I recently upgraded to android studio bumblebee and all my .kts
files are not getting picked up by the ide when using the embedded jdk. The project still builds fine but I cannot properly edit these files since the ide is not recognizing them.
If I switch the jdk version to 1.8 then everything works fine but I would like to use java 11 since that's what android studio recommends.
This is what my buildSrc looks like
Is this a known issue with android studio bumblebee and embedded jre or am I missing something here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据此问题,删除
文件可以修复此问题
According to this issue deleting
file fixes this issue
尝试用以下内容替换 build.gradle.kts(buildSrc) 的内容。以下代码在我当前的多模块项目中适用于我:
Try replacing the content of the build.gradle.kts(buildSrc) with the following .The following code is working for me in my current multi-module project :