简体   繁体   English

Lombok 插件在最新版本的 Android Studio (Bumblebee) 中不起作用

[英]Lombok Plugin Does not Working In Latest Version Of Android Studio (Bumblebee)

I use Lombok in my project and recently Update my Android Studio To the latest version ( Bumblebee ) And The Lombok Plugin doesn't work, is there any way to solve this problem?我在我的项目中使用Lombok ,最近将我的 Android Studio 更新到最新版本( Bumblebee )并且 Lombok 插件不起作用,有什么办法可以解决这个问题?

For some reason just downloading the latest version from github releases and installing to android studio did not work (it continue to throw the incompatible error).出于某种原因,仅从 github 版本下载最新版本并安装到 android studio 不起作用(它继续抛出不兼容的错误)。

What actually worked for me (and some of the users reported on github too) is to download the latest release 0.34.1-2019.1 and update the xml configuration and change 'until-build' property to IE-212.* and then importing through 'install from disk'.对我(以及一些在 github 上报告过的用户)真正有用的是下载最新版本 0.34.1-2019.1 并更新 xml 配置并将“until-build”属性更改为 IE-212.*,然后通过导入'从磁盘安装'。

Step by step guidance is available in this tutorial本教程中提供了分步指导

https://youtu.be/A14hrtUeNWU https://youtu.be/A14hrtUeNWU

not a resolution but there is a (working) workaround in the comments of the issue on github .不是解决方案,但在github上的问题评论中有一个(工作)解决方法。

Follow bellow steps to resolve your problem:请按照以下步骤解决您的问题:

1 - First download last version of lombok through the link . 1-首先通过链接下载最新版本的lombok。

2- In Android studio select File -> Settings -> Plugins 2- 在 Android 工作室 select 文件 -> 设置 -> 插件

3- click on Setting icon and select install plugin from disk. 3- 单击设置图标和 select 从磁盘安装插件。

在此处输入图像描述

4- finally select the downloaded file and after completion restart Android studio. 4- 最后 select 下载文件,完成后重启 Android studio。

done!完毕!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio Bumblebee 无法使用 gpg - Android Studio Bumblebee not working with gpg 将 Firebase 应用到 Android Studio 项目版本 Bumblebee - Apply Firebase to Android Studio Project version Bumblebee Android Gradle 插件版本在新的 Android Studio (大黄蜂及以上)Z7B5CC4FB56E171DC75Z0FBB361 - Where to put Android Gradle Plugin version in the new Android Studio (Bumblebee and above) Gradle setup? Android Studio BumbleBee 对 wifi 不工作 - Android Studio BumbleBee pair wifi not working Android Studio Bumblebee,HMS 工具包不工作,为什么? - Android Studio Bumblebee, HMS Toolkit Not Working, why? 模拟器在 android studio 最新版本中不起作用 - Emulator is not working in android studio latest version Bumblebee Android 工作室插件 [id: 'com.android.application', version: '7.1.0', apply: false] 在以下任何来源中均未找到: - Bumblebee Android studio Plugin [id: 'com.android.application', version: '7.1.0', apply: false] was not found in any of the following sources: Lombok无法使用Android Studio 3.0 - Lombok not working Android Studio 3.0 Android Studio 3:安装了最新的插件版本,但运行时警告已过时 - Android Studio 3: latest plugin version installed but outdated runtime warning 更新到大黄蜂 android 工作室版本时出现错误 gradle - error gradle when update to bumblebee android studio version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM