google / iosched

The Google I/O Android App
Apache License 2.0
21.77k stars 6.2k forks source link

buidl error #383

Open showwiki opened 3 years ago

showwiki commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

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

sixangle commented 3 years ago

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

hungpn commented 3 years ago

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 commented 3 years ago

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

congnin commented 3 years ago

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