iosched icon indicating copy to clipboard operation
iosched copied to clipboard

Cannot query the value of property 'applicationId' because configuration of project ':shared' has not completed yet.

Open sanisloandras opened this issue 3 years ago • 1 comments

When I try to build the project, I get this error:

Cannot query the value of property 'applicationId' because configuration of project ':shared' has not completed yet.

I have already upgraded gralde wrapper to use this url: distributionUrl=https://services.gradle.org/distributions/gradle-7.1.1-bin.zip

Using Android Studio 2020.3.1

If I try to update to const val ANDROID_GRADLE_PLUGIN = "7.0.2" and the distributionUrl accordingly, then I get the following error:

`Plugin [id: 'com.android.test'] was not found in any of the following sources:

  • Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.android.test'] was not found in any of the following sources:`

sanisloandras avatar Aug 27 '21 19:08 sanisloandras

figured:

Go to file>> project structure>>

change these values:

Android Gradle Plugin Version: 7.0.1 Gradle version: 7.0.2

it should work

tamzi avatar Aug 29 '21 08:08 tamzi