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

Can't Build - Caused by: Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'main' for SourceSet #11

Open
ashleyvaccaro opened this issue Mar 22, 2022 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@ashleyvaccaro
Copy link

Trying to build your project. Getting this error on gradle sync Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'main' for SourceSet container of type org.gradle.api.internal.tasks.DefaultSourceSetContainer.

What Android Studio version are you using?

@oianmol oianmol added the help wanted Extra attention is needed label Mar 23, 2022
@shubhamsinghmutualmobile
Copy link
Contributor

Hi @ashleyvaccaro

The project is building (and running) fine on Android Studio Bumblebee | 2021.1.1 Patch 2 Build #AI-211.7628.21.2111.8193401, built on February 17, 2022

What is your Android Studio version? Maybe we can try using that and see how we can solve the issue.

@ashleyvaccaro
Copy link
Author

ashleyvaccaro commented Mar 23, 2022

Hi thanks so much for your response! @shubhamsinghmutualmobile

I am currently also running that same exact version.

Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Non-Bundled Plugins: com.thoughtworks.gauge (211.6693.111), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.jetbrains.kmm (0.3.1(211-1.6.10-release-960-IJ)-89), org.intellij.plugins.markdown (211.7142.37)

Kotlin Multiplatform Mobile plugin is also - 0.3.1(211-1.6.10-release-960-IJ)-89
Kotlin Versions is - 1.6.10
Gradle build tools - 7.1.2
Gradle Wrapper - distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip

@shubhamsinghmutualmobile
Copy link
Contributor

For me, the differences lie in,

  1. Gradle build tools - 7.1.1
    and
  2. Gradle Wrapper - distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-bin.zip

Can you try making these changes and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants