iosched icon indicating copy to clipboard operation
iosched copied to clipboard

buidl error

Open showwiki opened this issue 3 years ago • 6 comments

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.

showwiki avatar Aug 08 '21 12:08 showwiki

@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

shardul avatar Aug 09 '21 07:08 shardul

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 https://github.com/google/iosched/issues/382

peter-budo avatar Aug 09 '21 08:08 peter-budo

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

sixangle avatar Aug 16 '21 11:08 sixangle

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.

hungpn avatar Aug 17 '21 17:08 hungpn

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

raphael1063 avatar Aug 19 '21 02:08 raphael1063

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

congnin avatar Aug 19 '21 08:08 congnin