GithubHelp home page GithubHelp logo

Import and open sample project about decompose HOT 4 CLOSED

EOP32 avatar EOP32 commented on June 1, 2024
Import and open sample project

from decompose.

Comments (4)

malliaridis avatar malliaridis commented on June 1, 2024 1

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 module configuration files, usually and namely the build.gradle.kts.

The build.gradle.kts file you marked in the screenshot is the build file of a single module of the project and does not include the necessary information to sync the project / sample (sub)project.

from decompose.

arkivanov avatar arkivanov commented on June 1, 2024

Are there any Gradle sync or build errors? Make sure you open the build.gradle.kts file from the root folder, and that you created local.properties file with Android SDK location in the same root folder.

I use IDEA, but Android Studio should also work.

from decompose.

EOP32 avatar EOP32 commented on June 1, 2024

It actually asks me to link the gradle project.. not very much which steps I need to take here..

image

from decompose.

EOP32 avatar EOP32 commented on June 1, 2024

Totally makes sense! Thanks :) It works now

from decompose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.