Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master doesn't seem compile with Arctic Fox RC 1 #106

Closed
snijsure opened this issue Jul 24, 2021 · 11 comments
Closed

Master doesn't seem compile with Arctic Fox RC 1 #106

snijsure opened this issue Jul 24, 2021 · 11 comments

Comments

@snijsure
Copy link

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

Screen Shot 2021-07-24 at 6 25 50 AM

@Gurupreet
Copy link
Owner

@GerardPaligot @hfrsoussama any ideas on this JDK looks correct.

@Gurupreet
Copy link
Owner

@snijsure Anyways currently I am using latest bumblebee canary for latest development.

@wiryadev
Copy link
Contributor

I tried it using RC01 with both JDK 11 and 13, compiled perfectly. Maybe try JDK 13?
image

@Gurupreet
Copy link
Owner

Thanks @wiryadev :)

@devluckman
Copy link

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

Screenshot_89

@zqlq4ever
Copy link

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

Screen Shot 2021-07-24 at 6 25 50 AM

me too

@Gurupreet
Copy link
Owner

Gurupreet commented Aug 15, 2021

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 👍🏽

@GerardPaligot
Copy link
Collaborator

GerardPaligot commented Sep 2, 2021

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?

@alifesoftware
Copy link

@devluckman - Thanks for the solution.

Would be great if README could be updated with this information.

@Gurupreet
Copy link
Owner

Thanks @GerardPaligot let me update README file for this.

@Gurupreet
Copy link
Owner

Updated please use latest Bumblebee canary 👍🏽

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

No branches or pull requests

7 participants