Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

buidl error #383

Open
showwiki opened this issue Aug 8, 2021 · 6 comments
Open

buidl error #383

showwiki opened this issue Aug 8, 2021 · 6 comments

Comments

@showwiki
Copy link

showwiki commented Aug 8, 2021

build error , my android studio version is bumblebee 2020.1.1 canary 6.

A problem occurred configuring project ':shared'.

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

@shardul
Copy link

shardul commented Aug 9, 2021

@showwiki Not so helpful but,

Change gradle/gradle-wrapper.properties: distributionUrl=https://services.gradle.org/distributions/gradle-7.1.1-bin.zip
and build.gradle.kts to com.android.tools.build:gradle:7.1.0-alpha05

Resolves above but fails later

@peter-budo
Copy link

build error , my android studio version is bumblebee 2020.1.1 canary 6.

A problem occurred configuring project ':shared'.

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

Same issue as the one reported by me here #382

@sixangle
Copy link

Sovled this error.
Change gralde version to 7.1, AGP to 7.1.0-alpha05. If encountered with lint error, just comment out.

@hungpn
Copy link

hungpn commented Aug 17, 2021

Sovled this error.
Change gralde version to 7.1, AGP to 7.1.0-alpha05. If encountered with lint error, just comment out.

Hi @sixangle
I got this error after changing gradle version to 7.1 and AGP to 7.1.0-alpha05 and comment out all of the lint errors. I'm using Actic Fox | 2020.3.1. Please help

Execution failed for task ':shared:kaptStagingKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

@raphael1063
Copy link

In my case, I only changed ANDROID_GRADLE_PLUGIN to 7.0.1 (from buildSrc.Version) and problem has solved

@congnin
Copy link

congnin commented Aug 19, 2021

Thank @raphael1063 . I chose this and problem has solved
Android Gradle Plugin Version: 7.0.1
Gradle version: 7.0.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants