Can't sign into Google using Google plugin for Eclipse - google-plugin-eclipse

I am using Eclipse Luna and I recently installed the Google plugin for Eclipse to deploy apps to the Google app engine.
I tried signing into Google services and was able to get past the password prompt and 2-step verification screen successfully. After that I get the permissions screen where I click 'Accept'.
After I click 'Accept' however nothing happens and the window goes blank. I've waited for like an hour and yet it just stays like that.
I have tried using a different Eclipse workspace, a different Eclipse installation (Luna), a different Google account which doesn't have 2-step authentication but I get the same result.
I have even checked the Eclipse log file and there are no entries made at time I tried signing in.
I've searched around but couldn't find anything related to this. Thanks in advance.

Right click, choose another encoding. Worked for me!

I faced the same issue with next configuration
Windows 8.1
JDK 7 and 8
Eclipse Luna
Google Plugin for Eclipse 4.4
GWT SDK 2.6
App Engine SDK 1.9
I think that something wrong with Google plugin, so here my Windows command line workaround:
Download and install external tools: App Engine SDK, Apache
Ant. At moment of writing this text Google App Engine doesn't
support Java 8, so you need install Java 7 and configure JAVA_HOME
environment variable accordingly.
Add to PATH environment variable paths to bin folders of App Engine and Ant.
Run command line and go to folder of your Eclipse project. Note that your project must be configured with Ant and build.xml file must be inside your project's folder.
Type ant build command and wait until successful compilation.
Configure your application ID via Eclipse or edit file war\WEB-INF\appengine-web.xml and set appropriate value into <application> tag.
Type app cfg update war It may run your browser, ask you credentials and ask to paste generated key.
After successful deploy navigate to your_application_id.appspot.com
Enjoy.
Read this article for details.

There were some bugs in the oAuth flow when you encountered this. We fixed all the ones we knew about last year. GPE login should be working now, but if not you can also try the newer Google Cloud Tools for Eclipse.

I had exactly the same problem ( Ubuntu 16.04 LTS )
To solve it I went to Eclipse Market Place and installed Google Cloud Tools for Eclipse 1.1.0
I accepted all the items to be installed
When I finished the installation, I restarted Eclipse, reopened it, clicked the Google icon in the bottom right corner, and logged in to the Chrome browser (It opens Chrome automatically).
This way I managed to make the connection.
I hope this can help !

Related

Problems creating a project with CodenameOne in Netbeans

Install Netbeans 12.6 on a Windows 10 machine. I was able to install the CodenameOne plugin with no problem. When creating a project I get the following error message:
Cannot invoke "org.openide.filesystems.FileObject.getFileObject(String)" because "folder" is null
I've been surfing the internet and can't find a way to fix it.
Thank you for your support.
This approach is no longer supported. The plugin is only used for legacy applications and no longer works in newer IDEs due to breaking changes in almost all IDEs.
Starting with Codename One 7.x we moved to maven projects which don't require the plugin and can be created in https://start.codenameone.com/
I have followed the instructions in the manual and it mentions as important:
"Before opening the project in NetBeans, you need to copy the contents of the tools/netbeans directory into the root project directory. These files are required by NetBeans to build, run, and debug the project correctly. "
But I can't find this folder in netbeans version 12.6.

Google Deploy to App Engine disabled in Eclipse

I am using the Google Plugin for Eclipse to deploy my project to App Engine, and this has worked great for over a year. But a couple of days ago it stopped working, and I can not seem to find the reason. The project is still an App Engine project, but the Deploy to App Engine button is disabled.
I already reinstalled the entire Google Plugin in Eclipse. I also added another GAE project, but then the button is still disabled. I managed to enable the button once to upload, but I don't know what triggered the enabling.
Has anyone seen this before and any clue on how to fix this?
EDIT: The button enabled when I removed and re-added the App Engine SDK from the build path of the project. After the deployment, the button disabled again..
This is a known bug in the latest 3.9.1 release. The fix will be pushed on Monday, 5/2.
The same thing is happening for my eclipse mars. The workaround I'm using is, File >> Close Project, then double click to open project, voila.
For those who don't want to wait (I didn't), use appcfg. If you want to use External Tools, you'll find the executable in (SDK install - check configured SDK's)/bin/appcfg.(sh|cmd)
Set the working dir to the project folder, the commands are "update war", where 'war' is the location of the war directory relative to the project folder.
I set JAVA_HOME under the environment tab to the Java SDK, and PATH to the Java SDK/bin directory, and "replace native environment with specified environment" on Windows, worked fine without Environment settings on Linux.
The "Deploy to App Engine" only disables itself when I select another project. So to get it enabled:
Deselect all projects (Ctrl+Click on the selected project - or restart Eclipse).
Select your project.
It should then be enabled (well, it was for me).
EDIT: Google rolled out a new version of the plugin, and now the button works fine.
Running Eclipse Neon 4.6.3 with no issue. To get it enabled:
Install Google Cloud SDK and Cloud Tools for Eclipse https://cloud.google.com/eclipse/docs/quickstart
Install components using the Google Cloud command line
gcloud components install app-engine-java
Convert eclipse project to a google app engine project
Right-click on project
Click on Configure
Click on Convert to standard app engine project
Make sure you click on the project and... voila!
For me simple restarting of the eclipse did the trick.
I had closed the project by mistake and when I re-opened it, the deploy button was disabled.

Eclipse Mars 4.5.1 cannot access internet after first update/plugin install

I recently installed Eclipse Mars 4.5.1 (for Java Developers) using the Oomph installer. It is installed in my User directory in Windows 7. I was able to start it up, create a hello world app, and it all ran fine.
So far so good....
Then, I go to the "install software" feature under Help and download the C/C++ developer plugin. It downloads and installs fine. When I restart, I am able to build and run C++ binaries.
Again, no problem, yet....
Then, I wanted to install another plugin, PHP Developer. However, when I have Eclipse search the available sites for the package, it cannot find any sites. I tried to do a software update, and it claims it cannot find any of the hosts.
When I try to check my network preferences, I get a "null pointer exception" error report when I try to look at the Network preferences. The error report details indicate this has something to do with ".ssh\known_hosts" file not being found. Therefore, I cannot see what proxies it is using, and the list of known hosts is blank.
Bottom line: after updating itself fine for the first plugin, it appears to be unable to get to any repository for further updates. This happens regardless of what I choose as the first plugin to get.

JOSM plugin won't work (PicLayer)

I have been trying to georeference the floor plan of my home university using Java OpenStreetMap (JOSM). I have been following the guide from their website (http://wiki.openstreetmap.org/wiki/IndoorOSM) until i got stuck on the PicLayer plugin part.
The plugin when downloaded (version 29809) will never appear in my Menu bar, not even after couple of restarts of my computer AND even on a fresh virtual machine, with fresh java JRE the plugin just won't appear in the menu.
I understand that this isn't the perfect place for posting such a problem, but unfortunately when visiting JOSM forums i got banged with this message "This forum is not accepting new registrations."
I already replied to the JOSM ticket but also give the answer here.
The plugin was not correctly installed. To install a plugin, the recommended way is to download and install it directly from JOSM preferences (F12).
If the plugin jar is manually downloaded, it must be manually enabled in JOSM preferences by checking its tickbox in plugins tab:

Google Plugin for Eclipse cannot be properly Installed

I have installed
Google Plugin for Eclipse 3.6
Google Web Toolkit SDK 2.4.0
in my Eclipse-Helios-3.6 but cannot find the google plugin icon in my toolbar and also I'm able to find Google in Windows>>Preferences.
Operating system-Ubuntu
Well since you are able to see google in windows preferences i am assuming that the installation did work. Have you tried creating a new GWT Project. The GWT button might not show if the project is wrong.
Do not use the pre-packaged Eclipse in Ubuntu (that version is often quite outdated). Get a current version from the Eclipse website instead and install it in a directory that you like (thereby avoiding problems with the Eclipse update mechanism, which doesn't fit the Linux directory guidelines very well).