butterknife zelezny can't show in generate menu for AndroidStudio1.3.1

butterknife kotlin
butterknife androidx support
butterknife android studio
butterknife kotlin github
com jakewharton butterknife 8.1 0
com jakewharton butterknife 10.2 0
com jakewharton butterknife 8.7 0
com jakewharton/butterknife 10.2 1

My Android studio version is 1.3.1, When I add the plugin of butterknife zelezny 1.3.2 by the step: download it and install via Preferences → Plugins → Install plugin from disk.

but, failed to show the button of "Generate ButterKnife Injections" in the menu of generate.

what's reason of this issue? How can resolve it? Thanks.


  1. restart your AS
  2. right click on R.layout.my_layout
  3. choose generate(or click Alt+Insert)
  4. you may see "generate Butterknife injections" item in the menu

android-butterknife-zelezny/README.md at master · avast/android , Why 'Zelezny'?. Jan Železný is a famous Czech javelin thrower, Olympic champion and world record holder. With Zelezny's javelin, your butter knife will be much  Make sure you have latest Butterknife lib on your classpath. Right click on usage of desired layout reference (e.g. R.layout.main in your Activity or Fragment), then Generate and Generate ButterKnife Injections. Pick injections you want, you also have an option to create ViewHolder for adapters.


I also faced the same .So if am correct you have not added butter knife dependencies in your gradle file.

dependencies {
compile 'com.jakewharton:butterknife:7.0.1'
}

Add this in your projecct build.gradle(Module:app)

Once you are done with you will get Generate ButterKnife Injections option on right click of layout.

Android ButterKnife Zelezny, Plugin for generating ButterKnife injections from selected layout XMLs in activities/fragments/adapters. What's New: Added support for Unbinder in ButterKnife 8. Plugin for generating ButterKnife injections from selected layout XMLs in activities/fragments/adapters.


as @Woi mentioned from above you can do this way.

For Windows you can do the same by following below steps.

1.right click on R.layout.my_layout in activity or fragment

2.Click generate(Alt+Inser)

3.Generate butterknife injection(Ctrl+Shift+B)

butterknife zelezny can't show in generate menu for , restart your AS; right click on R.layout.my_layout; choose generate(or click Alt+​Insert); you may see "generate Butterknife injections" item in the  Android Studio plug-in for generating ButterKnife injections from selected layout XML. - avast/android-butterknife-zelezny


It works on 7.0.1. Not works on 8.0.1

1.works:

compile 'com.jakewharton:butterknife:7.0.1'

2.not works:

compile 'com.jakewharton:butterknife:8.0.1'

Butter Knife, Calls to ButterKnife.bind can be made anywhere you would otherwise put findViewById calls. Other provided binding APIs: Bind arbitrary objects using an activity  almost 4 years Can you set the default variable Name is the same as the name of the ID; almost 4 years Could you add a new features; almost 4 years Does this work with Android Studio 2.2 Preview Alpha 4 + ButterKnife 8.2.1? almost 4 years Support injection for createViewHolder; almost 4 years How to use butterknife - zelezny injection in a subclass view


My Android studio version is 3.1.2, When I add the plugin of butterknife zelezny 1.6.0 by the step: download it and install via Preferences → Plugins → Browse repositories and search for ButterKnife Zelezny.

I had this same issue. I resolved it by adding classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1' to my gradle build file at project level so that it's buildscript section looks like:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
    }
}

https://github.com/JakeWharton/butterknife README.md is uesful.

Alternate to Butterknife Zelezny plugin?? : androiddev, Alternate to Butterknife Zelezny plugin?? Discussion. Is there a Or you could be the magician who forks the project and makes it work with ButterKnife 9 / 10 ;). GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up Generate Butterknife Injection option is not shown in Android Studio 1.4 Stable version #72


tgzzl / android-butterknife-zelezny · GitLab, Android Studio plug-in for generating ButterKnife injections from selected layout XML. With Zelezny's javelin, your butter knife will be much sharper! See our  Actions: installed android studio restart right click on R.layout.alayout choose generate the item "generate Butterknife injections" does not appear. If you want more feedback I'm happy to give it to you.


Open issues for android-butterknife-zelezny, Do you use android-butterknife-zelezny? any comparision between butterknife and findViewById ,is butterknife affect the load time? over 3 years Can you set  Calls to ButterKnife.bind can be made anywhere you would otherwise put findViewById calls. Other provided binding APIs: Bind arbitrary objects using an activity as the view root. If you use a pattern like MVC you can bind the controller using its activity with ButterKnife.bind (this, activity).


butterknife zelezny can't show in generate menu for - php, My Android studio version is 1.3.1, When I add the plugin of butterknife zelezny 1.3.2 by the step: download it and install via Preferences → Plugins → Install  GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Bind Android views and callbacks to fields and methods.