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

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?

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 menu

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.

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)

It works on 7.0.1. Not works on 8.0.1
compile 'com.jakewharton:butterknife:7.0.1'
2.not works:
compile 'com.jakewharton:butterknife:8.0.1'

I had this same issue but restarting didn't fix it. I resolved it by adding classpath 'com.jakewharton:butterknife-gradle-plugin:8.7.0' to my gradle build file at project level so that it's buildscript section looks like
buildscript {
repositories {
dependencies {
classpath 'com.jakewharton:butterknife-gradle-plugin:8.7.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Secondly, to see the "Generate ButterKnife Injections" in the menu, you'll need to focus the mouse cursor on the layout file and right-click on it then select "Generate".
e.g. in Fragment, View v = inflater.inflate(R.layout.fragment_create_new_order, container, false); right click on "fragment_create_new_order" and select "Generate"

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 {
dependencies {
classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
https://github.com/JakeWharton/butterknife README.md is uesful.


Specflow Generate Step Definition is missing from the context menu

I right click on my feature file I should get the option to Generate step definitions. It is not there in the context menu.
I did a search and it says to install specrun for nunit.
I tried installing SpecRun.Nunit from Manage NuGet Packages.
I get the error:
Severity Code Description Project File Line Suppression State
Error Unable to load the service index for source
An error occurred while sending the request.
The remote name could not be resolved: 'packagesource' 0
I have Visual Studio Enterprise 2017 isntalled.
I have installed Selenium-webdriver, Specflow
How can I solve this issue please, thanks.
You need to install the specflow nuget package as well as the Visual Studio integration package from the menu item Tools -> "Extensions and Updates..."
Here's what I have to do to make the option appear in the context menu in VS2019.
I installed Specflow normally, from Extensions-> Manage Extensions,
then searched for Specflow for Visual Studio 2019.
Installed the package and re-started VS.
Then I created a new project, a C# Test.
Once the initial setup is ready, from the context menu in the
Solution Explorer I went "Add->New Item..." and selected "SpecFlow
Feature File", I typed in the info I wanted in my Feature file.
Over any of the Gherkin lines, I right clicked to get the context
menu and selected "Go to Definition". A dialog displays, telling me
that there is not a match, but I can save the lines in clipboard. I
selected Yes.
Then again on the Solution Explorer (like step 4), Right Click
"Add->New Item...", but now selected "SpecFlow Step Definition". The
Step Definition will be that for the calculator test.
Now here's the trick:
Delete all of the steps, leaving the main class empty.
Like this:
using System;
using TechTalk.SpecFlow;
namespace SpecflowFirst
public class SpecFlowFeature1Steps
Then paste the snippet you got from the dialog box inside the main
Like this:
using System;
using TechTalk.SpecFlow;
namespace SpecflowFirst
public class SpecFlowFeature1Steps
[Given(#"I navigated to the github login page")]
public void GivenINavigatedToTheGithubLoginPage()
This will trigger errors in the compilation. If you point to the error in "ScenarioContext" and do "Show potential fixes", one of the fixes will be to install "Sprecflow extension". With this you install the remaining integration that will now display the option in the context menu.
That fixed the issue to me and now I can see in the context menu "Generate Step Definitions"
I followed Kyon's excellent walkthrough, but this didn't work for me. Even though SpecFlow was installed correctly, it didn't recognise the following library, or make any suggestions to "Fix this issue":
using TechTalk.Specflow
Then I noticed that, with the a brand-new MsTest project and the latest VS2019 (as of October 2020) you need to install a slightly-earlier version of SpecFlow (v2.1 compared to v2.4).
So, if you're also having problems getting this illusive "Generate Step Definitions" menu item to appear, check out your Dependencies\Packages for any exclamation marks.

Export RCP with plug-in project as dependency failure

I had a RCP application that uses a plug-in project as dependency. I have added the plug-in project into MANIFEST.MF of my RCP program and it works well. But when I exported the program, it posted an error:
The build.properties is as follows:
output.. = bin/
bin.includes = META-INF/,\
source.. = src/
source.. = src/
jars.compile.order = .
source.com.hpi.hpdm.console.dependencies;bundle-version="1.0.0"/ =
Comment: com.hpi.hpdm.console.dependencies is the plug-in project, com.hpi.hpdm.console is the main project.
I don't know what "\com.hpi.hpdm.console\"1.0.0"\=" does not exise! means. Any clues will be appreciated.
The build.properties:
The .product file Contents tab:
When exporting an RCP your .product file must list every plugin (or feature) that is used by the RCP.
If you are using a feature based product configuration:
Open the feature.xml for your code and add all your plugins to the feature (in your case the feature is 'com.hpi.hpdm.console.feature').
If you are using a plugin based product configuration:
Open the .product file editor and switch to the 'Contents' tab. If your main plugin is listed there you should be able to use the 'Add Required' button to update the list. Make sure that all your plugins have been included (along with a lot of standard Eclipse plugins).

Where do I find googlemaps.MapContainer to import for the Ratatouilles Restaurant demo?

I am trying to run the Ratatouilles Restaurant demo. Where do I find the googlemaps.MapContainer to import.
This demo uses the GoogleMaps.cn1lib that is in the lib directory, to use this right click on your project and select "CodenameOne->Refresh cn1lib files" then rebuild the project

What exactly I should do to make 'angular' resolved in .ts file in WebStorm

I wonder.. what exactly I should do to make WebStrom (or IntelliJ IDEA) resolve my 'angular' variable.
I follows this guy but that maybe deprecated already.
On my vendor.d.ts:
/// <reference path="../typings/jquery/jquery.d.ts" />
/// <reference path="../typings/angularjs/angular.d.ts" />
My package json:
"name": "angular_ts",
"version": "0.1.0",
"description": "",
"repository": {},
"dependencies": {
"grunt": "~0.4.5",
"grunt-ts": "~3.0.0"
My issue on that screenshot ('angular' is not resolved.. can not go to definition of it, as a result - multiple implementations of 'module'):
So, what exactly I should do to make 'angular' resolved in .ts file in WebStorm?
I do not have yet angularjs sources in my project. But one of the options where it redirects me is "node_modules/grunt-ts/tasks/inerfaces.d.ts" file. Even if I exclude 'node_modules' folder from my project.
You have to do a few things to get this to work correctly. I don't know what that tutorial told you to do, but it's not the WebStorm usual way of doing it.
Firstly, you need to make WebStorm ignore all the AngularJS source files in your project. This is why you're getting the multiple implementations warning.
Open your "project" side panel that displays the file tree.
Find where you put your angular.min.js source files, and right click the file.
Select "Mark as Plain Text". WebStorm will now ignore that file from intellisense for JavaScript.
You have to now add AngularJS to your list of External Libraries for that project.
Click "File / Settings"
Expand the "Languages & Frameworks" node
Expand the "JavaScript" node
Select the "Libraries" section.
This is where you install third-party TS files for libraries. Select the "angularjs-DefinitelyTyped" library, but this doesn't come with WebStorm. You have to download and install it.
Click the "Download..." button.
Change the dropdown on the dialog from "Official libraries" to "TypeScrypt community stubs".
Find "angularjs", select it and click "Download and Install".
That's basically what I do. The key is to exclude the JS files in your project that will interfere with intellisense.
When you install external libraries to a WebStorm project via the settings. It doesn't actually add those files to the project. They are only added to the intellisense space used by the IDE.
Since I did not have yet angularjs sources (yet) in my project.
And one of the options where it redirects me is "node_modules/grunt-ts/tasks/inerfaces.d.ts" file. Even if I exclude 'node_modules' folder from my project.
My solution is to remove node_modules from the Project Structure -> Libraries there was reference to 'node_modules' (also)..
But it is basically the same principle as Mathew suggested.
(Hope that will not break another stuff in the project)

Missing Ubuntu.Components QML Module

I installed QTCreator and Ubuntu SDK as shown here.
When trying to run the code sample provided here, QTCreator tells me it can't find the Ubuntu.Components QML Module.
The build-logs says:
file:///home/giladnaaman/Programming/Projects/CurrencyConverter/CurrencyConverter.qml:2 module "Ubuntu.Components" is not installed
But the directory /opt/qt5/imports/Ubuntu/Components
exists (and is full of files).
After adding importPaths: [ "/opt/qt5/imports" ] to the qmlproject file:
QML module does not contain information about components contained in plugins.
QMetaType::registerType: Binary compatibility break -- Type flags for 'QPaintBufferCacheEntry'[1024] don't match. Previously registered TypeFlags(0x103), now registering TypeFlags(0x3).
Do not add the importPaths property to the qmlproject.
Did you setup the QML Scene as your QML viewer?
In Qt Creator, go to Tools > Options…
Choose the External Tools tab, then in the pane select the Preview (qmlviewer) entry
On the Executable: field on the right, replace the contents with /opt/qt5/bin/qmlscene.
Optionally change the command name by double-clicking on the Preview (qmlviewer) entry from above. You can call it Preview (qmlscene).
Click on OK to save the changes.
you’ll be able to view your app through the Tools > External > Qt Quick > Preview (qmlscene)
The Ubuntu SDK is still using the older version of Qt Creator from QT4 it will not be able to locate the Ubuntu Components, and say the components are not found. But the QML Scene used for running the QML GUI will load it and run it without any problems.