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

Cannot run project on AS Arctic Fox 2020.3.1 Beta 3 #6

Closed
GianlucaVeschi opened this issue Jun 24, 2021 · 3 comments
Closed

Cannot run project on AS Arctic Fox 2020.3.1 Beta 3 #6

GianlucaVeschi opened this issue Jun 24, 2021 · 3 comments

Comments

@GianlucaVeschi
Copy link

GianlucaVeschi commented Jun 24, 2021

After downloading the project I am required to update

private const val gradleBuildTools = "7.0.0-alpha09" to "7.0.0-beta04"

but this causes the following exception

* Exception is:
org.gradle.api.GradleException: Please initialize at least one Kotlin target in 'shared (:shared)'.
Read more https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-targets
	at org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper.whenBuildEvaluated(KotlinPluginWrapper.kt:217)
	at org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper$apply$1.execute(KotlinPluginWrapper.kt:68)
	at org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper$apply$1.execute(KotlinPluginWrapper.kt:67)

I just went through the README file again and noticed that this project was built on an older version of AS. It would be cool to know which dependencies have to be updated in order to be able to run the project on the latest beta version.

grafik

@mitchtabian
Copy link
Owner

If you want to use the newest android studio version you'll need to solve some conflicts. Otherwise use the same version I did as stated in the readme and in th course videos

@RdeWilde
Copy link

RdeWilde commented Jul 7, 2021

@mitchtabian any clue where these conflicts reside? I have the same error in my project, although it is different source code than yours

@manu0396
Copy link

Some update about this error?? I have KMM proyect which compiles fine, but after upgrade some dependecies, start to get this error and i'm not able to fix it.

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

4 participants