Gradle issue in Android plugin

Answered

I made a test project with Android plugin in IntelliJ IDEA 2018.1, but there are some Gradle issues.

 

- Cannot resolve symbol applicationId / versionCode / versionName / testInstrumentationRunner / exclude

- minifyEnabled cannot be applied to java.lang.Boolean

 

These issues didn't occur when I make same project with Android Studio 3.1.1.

How to I fix this?

2
14 comments

Hi. Does it helps if you select File | Settings | Build, Execution, Deployment | Build Tools | Gradle  "Use default gradle wrapper (recommended)" option.

0

Where is "Use default gradle wrapper (recommended)" option?

1

Hi. this is a project level options, you need to have Gradle project open and active to see them.

0

I found it. But I already checked "Use default gradle wrapper (recommended)" option.

1

I have the same problem, have you found any solution?

1

If the problem still persists could you please raise a ticket at: https://youtrack.jetbrains.com/issues , with example project attached.

1
Avatar
Dominicmundirewa

Having a similar issue as well ,tried the suggested solution but doesnt seem to be working. Please help!!

1

Could you please raise a ticket at: https://youtrack.jetbrains.com/issues , with example project attached.

1

I already made a ticket about this issue. https://youtrack.jetbrains.com/issue/IDEA-190793 

1

Thank you for raising the ticket, our developers are investigating the problem.

1
Avatar
Arzhang Mosaffa

I have the same issue, waiting to see what do you do

1

Also have this issue for import a existing android studio project to Intellij Ultimate version.

1

The same problem, guys

1

Same problem, right after creating a new project using wizard.

0

Please sign in to leave a comment.