Skip to content

Import and open sample project #693

Answered by malliaridis
EOP32 asked this question in Q&A
Discussion options

You must be logged in to vote

Try to open the Decompose project / directory instead of sample, so that Android Studio will be able to load the project correctly. After that, you should see the run configuration on the top with the name "sample.app-android".

This is a common mistake if you are new in Gradle and/or Kotlin Multipaltform. You have opened the sample directory of the project. This however does not include the gradle build files that are located in Decompose/ (outside of sample). Therefore, it cannot find the "entry point" for gradle and asks you to configure the project. The files /settings.gradle.kts, /build.gradle.kts are basically the project configuration files, and anything in sub folders are the modul…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by arkivanov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #691 on April 11, 2024 08:17.