Android Studio 3 - Constraint layout editor broken - android-constraintlayout

I'm using Android Studio 3.0 (updated to canary 4 today) on macOS for a side project and recently (not sure really when) the constraint layout editor stopped working properly.
Now it just shows a grey window and the blueprint view isn't working at all. Even the properties editor on the right doesn't show the constraints anymore.
Here how it looks for a simple layout with just 1 button:
I'm using constraint layout 1.0.2 but it fails the same way on 1.1.0-beta1.
Any idea what could go wrong? No error are shown in the IDE or in the idea.log
Thanks in advance for any help provided :)

Which gradle version are you using? Also, support lib 26.0.0-beta2 has an issue with studio, if you are using it you should downgrade to beta1 to use the editor.

Just change the "Apptheme" to "AppCombat.NoActionBar"

downgrading it to beta1 solved my problem

Go in build.gradle and change the dependencies to 26.0.0-beta1:
After Sync the project...
Its works to me!!!!

What worked for me was to UPGRADE all my dependencies to the latest version (currently 27.0.0) instead of doing a downgrade. It brings some additional effort to replace the "compile" dependencies (which are deprecated) by "implementation" or "api" and upgrade also some of the libraries. But after all the upgrades the tool worked again perfectly.

Adding
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
to the dependencies and reloading project solved my issue

Related

Not able to Cmd+ Click code coming through dependencies in STS 4

Facing a strange problem.
I recently moved my workspace to Java11. Earlier was using Spring Tool Suite 3.x but it was not working well with Java 11 so upgraded to 4.1.2 RELEASE.
The issue is I cant navigate (Cmd + Click) through dependencies code.
As shown in image below, I cant navigate through Objects below. However in my application code everything seems to be working. Also in earlier STS versions, didnt face any issues like this.
Can anyone help?
I think it is this bug:
https://github.com/spring-projects/sts4/issues/205
It is already fixed in the latest nightly builds of STS4 as well as the latest snapshot builds of LSP4E. If you don't want to wait for the STS 4.2.0 release (should be coming next week), you can install the latest version of LSP4E from their snapshot site.

COMMAND + CLICK not working in feature file to send to step definitions

I have a project based on cucumber JAVA language and need the function that sends from feature file to step definitions, but it is not working!
I use eclipse photon 4.8 (I also tried the different version like 4.7.2, 4.9, 4.1.0) and I use plugin Natural 0.7.6 and function COMMAND + CLICK or F3 not working at all! But the same project works fine with that command on friend laptop! So I think it is some eclipse settings, who knows how to fix it? Thank you!
I tried to check and fix settings for shortcuts, but it did not help. Then I tried to uninstalled unused plugins ( Gradel) and then update Eclipse from version photon 4.8 to version 2019-09 R (4.13.0) and that helped. Now shortcuts in cucumber feature file working.

Android eclipse application with MapView

I am new to eclipse. I have a old application that is compatible for 2.2 android version. Basically this application display google map using Map View. I just want to make some text changes in this application for deployment. But i'm having issue while debug. It get crashed. Here is error window
Experiencing a similar situation from time to time I have to have the following for the old project:
Eclipse Luna (no other eclipse works)
Old version of Android SDK (update it to far and nothing works)
The quirks of my situation may be specific to my project but maybe they'll help. Android + Eclipse is not fun, convert to Android studio if you have the possibility:
https://developer.android.com/studio/intro/migrate.html
You first have to convert your project to Android studio and then fix your issues because some of the them will not work in Eclipse and might be some libraries are not supported in Eclipse.
See this how to Convert Eclipse project to Android Studio
See this link, it might be helpful for you.

Failed to refresh gradle project in IntelliJ IDEA 2016.1: Unknown method ScalaCompileOptions.getForce()

I have a Gradle-based project primarily with Java code and a small subproject with Scala (a Gatling-based performance test).
I recently upgraded Gradle wrapper to v2.12, which is currently the latest version.
And today I just updated IntelliJ Idea from v15 to v2016.1.
When I try to refresh the project from the Gradle files in Idea, I get this error.
Error:Cause: org.gradle.api.tasks.scala.ScalaCompileOptions.getForce()Ljava/lang/String;
I noticed when searching on Google, that the method getForce() (returning a String) apparently has been replaced by isForce() (returning a boolean).
If i downgrade Gradle wrapper to v2.11 the problem disappears.
Is there anything else I can do to fix the problem?
I guess there is nothing except downgrade you can do. Just report your problem on Jetbrains issue tracker
This seems to have been fixed as per release notes published in https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2016.1+145.844.1+Release+Notes. See IDEA-152976.
One needs to switch to IntelliJ IDEA 2016.1 145.844.1
Reinstall the Scala plugin in intellij solved the problem for me.

Can't install any eclipse UI themes on Ubuntu

I'm trying to install a new eclipse UI theme, as staring at a white UI all day makes my eyes hurt. Specifically, I'm trying to install the following: https://github.com/guari/eclipse-ui-theme
However, despite following all of the different installation options they list on that github ReadMe, I can't get it to work. No matter what I do, only the standard three themes show up, as displayed in this screenshot: https://imgur.com/q2VoZgk
Exactly the same thing happened (i.e. nothing) when I tried to install another eclipse UI theme. So I'm guessing this is some sort of problem with my eclipse.
Does anyone have any idea what's going on? I'd really appreciate any help!
Thanks!
It looks like you're running an old version of eclipse, try updating to Juno at least (4.2.x)
For older version of eclipse you can look at this plugin, but will only modify the editor, not the whole IDE
I uploaded to Luna and now it works perfectly. Thank you both very much for your help, and sorry I was being so stupid! I'd updated eclipse within itself via its update, but I guess that doesn't install the latest version!