Coder Social home page Coder Social logo

Comments (10)

GitHubWebb avatar GitHubWebb commented on May 20, 2024

没错,今天升级之后各种办法都试了,都不行

from android-butterknife-injections.

ParfoisMeng avatar ParfoisMeng commented on May 20, 2024

我修不了啦,这个项目在新的IDE里面咋都打不开……你们也可以clone源码看看改改然后PR呀!
@xiechunjiang @GitHubWebb

from android-butterknife-injections.

SaltedFish-Extreme avatar SaltedFish-Extreme commented on May 20, 2024

难受,2020.3.1版本有挺多问题的,主题没有高亮了,有个暗黑主题插件也不显示,必须把as自带插件的gosn改后缀名才行,但是这个插件还是不能用,不知道这两者之间会不会有什么关系,还有代码也不分析语法错误也不会自动导包了啥的,中文汉化包要找合适的版本导入才行,想退到之前版本官网又找不到旧版本,只能等更新了

from android-butterknife-injections.

fiytodie avatar fiytodie commented on May 20, 2024

我也是...头大,请问有没有什么其它替代的呢?

from android-butterknife-injections.

RedDargon avatar RedDargon commented on May 20, 2024

同问 有解决方法吗

from android-butterknife-injections.

xiechunjiang avatar xiechunjiang commented on May 20, 2024

@GitHubWebb @RedDargon @ParfoisMeng @fiytodie 今天找到一个插件可以用此版本(Android Studio Artic Fox | 2020.3.1 Patch 3
)能正常使用,不过kotlin 的好像不行,java项目可以,kotlin其实也不需要 直接Plugins 中搜索IDsCreate https://plugins.jetbrains.com/plugin/9505-idscreate

from android-butterknife-injections.

ParfoisMeng avatar ParfoisMeng commented on May 20, 2024

@xiechunjiang
建议改用View Binding。

JakeWharton 官宣 ButterKnife 停止维护都一年半之久了。

Butter Knife
Attention: This tool is now deprecated. Please switch to view binding. Existing versions will continue to work, obviously, but only critical bug fixes for integration with AGP will be considered. Feature development and general bug fixes have stopped.

from android-butterknife-injections.

xiechunjiang avatar xiechunjiang commented on May 20, 2024

from android-butterknife-injections.

SaltedFish-Extreme avatar SaltedFish-Extreme commented on May 20, 2024

@GitHubWebb @RedDargon @ParfoisMeng @fiytodie 今天找到一个插件可以用此版本(Android Studio Artic Fox | 2020.3.1 Patch 3 )能正常使用,不过kotlin 的好像不行,java项目可以,kotlin其实也不需要 直接Plugins 中搜索IDsCreate https://plugins.jetbrains.com/plugin/9505-idscreate

啊,刚才看了下你发的这个插件,在kotlin中好像没法用啊,我一直用的android findviewbyid support,但是在kotlin中生成的id没法直接插入代码,目前在用find view for Android,用着还行,还有插件市场有butter knife一键转findviewbyid的插件,可以试试

from android-butterknife-injections.

SaltedFish-Extreme avatar SaltedFish-Extreme commented on May 20, 2024

到头来还是回归初心使用findviewbyid才是王道🤣

from android-butterknife-injections.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.