[SOLVED] Why I’m getting “Cannot query the value of property ‘namespace’ because configuration of project ‘:app’ has not completed yet” after gradle upgrade?

Question

This Content is from Stack Overflow. Question asked by peter Estifanos

I was trying to upgrade gradle from 6.5.1 to 7.3.3 but I am getting this error message

“Cannot query the value of property ‘namespace’ because configuration of project ‘:app’ has not completed yet”

Solution

You are getting this after upgrading gradle:

com.android.tools.build:gradle:6.5.1 --> 7.3.3

Solution: Updgrade your kotlin gradle plugin

org.jetbrains.kotlin:kotlin-gradle-plugin: --> latest version

Answered by Rohit Maurya


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 4.0.

people found this article helpful. What about you?