Closed snijsure closed 3 years ago
@GerardPaligot @hfrsoussama any ideas on this JDK looks correct.
@snijsure Anyways currently I am using latest bumblebee canary for latest development.
I tried it using RC01 with both JDK 11 and 13, compiled perfectly. Maybe try JDK 13?
Thanks @wiryadev :)
I tried it using Android Studio Bumblebee 2021.1.1 Canary 7 and I got the same problem, I try to downgrade Gradle to version 7.0.0 and kotlin-gradle to version 1.5.10, finally this work for me
Describe the bug Master doesn't seem compile with Arctic Fox RC 1
To Reproduce Steps to reproduce the behavior:
I installed Arctic Fox RC 1 and attempted to compile master and I see the following error
..../ComposeCookBook/buildSrc/src/main/kotlin/common-compose-module-configs-script-plugin.gradle.kts: (8, 1): Expression 'android' cannot be invoked as a function. The function 'invoke()' is not found
FWIW I am using Android Studio default JDK, anybody else
me too
Hey @zqlq4ever I think I was using latest Bumblebee canary made me update to Gradle. I think as @devluckman suggested please change to "downgrade Gradle to version 7.0.0 and kotlin-gradle to version 1.5.10" should compile in Arctic fox."
Thanks for insights I guess in future I will try to keep it sync with Arctic fox version instead of latest canary 👍🏽
Yes, Arctic Fox need AGP version bigger or equals than 7.0 but lower than 7.1. And Bumblebee need to use AGP version bigger than 7.1-alpha (current version configured on the project).
@Gurupreet Maybe we need to specify in the README file if this project will be compatible with the Canary or Stable Android Studio version to avoid this kind of issue?
@devluckman - Thanks for the solution.
Would be great if README could be updated with this information.
Thanks @GerardPaligot let me update README file for this.
Updated please use latest Bumblebee canary 👍🏽
Describe the bug Master doesn't seem compile with Arctic Fox RC 1
To Reproduce Steps to reproduce the behavior:
I installed Arctic Fox RC 1 and attempted to compile master and I see the following error
..../ComposeCookBook/buildSrc/src/main/kotlin/common-compose-module-configs-script-plugin.gradle.kts: (8, 1): Expression 'android' cannot be invoked as a function. The function 'invoke()' is not found
FWIW I am using Android Studio default JDK, anybody else