Reputation: 4745
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?
Upvotes: 0
Views: 3411
Reputation: 620
Try to change the options from Nexus 4/version/Theme in the intellij.
Upvotes: 1
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"
Upvotes: 4