Francis Bacon
Francis Bacon

Reputation: 4745

Intellij IDEA Ultimate android layout preview not working waiting for build finish

IntelliJ IDEA 2018.2.5 (Ultimate Edition) Build #IU-182.4892.20, built on October 16, 2018 Licensed to IntelliJ IDEA Evaluator Expiration date: November 27, 2018 JRE: 1.8.0_152-release-1248-b19 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.13.6

I tried several ways.

But it does not work.

And I noticed that:

I could build and run the project successfully but how to fix this?

Waiting for build to finish

Upvotes: 0

Views: 3411

Answers (2)

roronoa_zoro
roronoa_zoro

Reputation: 620

Try to change the options from Nexus 4/version/Theme in the intellij.

enter image description here

Upvotes: 1

Francis Bacon
Francis Bacon

Reputation: 4745

I simply solved it by choosing Sync Project with Gradle Files. This will trigger a Gradle re-import and a build.

One can find it using Find Action shortcut Ctrl + Shift + A and choose "Sync project With Gradle Files"

How to find the action The result

Upvotes: 4

Related Questions