Giter Club home page Giter Club logo

Comments (9)

acefalobi avatar acefalobi commented on August 20, 2024

What is the issue when you try to do this?

from android-stepper.

mspnr avatar mspnr commented on August 20, 2024

Here you are. This error is coming out after performing all operations described above and doing gradle sync:

org.gradle.internal.exceptions.LocationAwareException: Build file '.../android-stepper/stepper/build.gradle.kts' line: 9
Script compilation error:

  Line 9:     id(PluginDependencies.ANDROID_MAVEN)
                 ^ Unresolved reference: PluginDependencies

The problem is obviously, that PluginDependencies is not accessible from the project, only stepper does. PluginDependencies is though defined in buildSrc folder. Should it also be included to the new project, why and how? This is not clear.

from android-stepper.

acefalobi avatar acefalobi commented on August 20, 2024

Yes, you'll need to add the Dependencies.kt file from the stepper project into your own project.

from android-stepper.

mspnr avatar mspnr commented on August 20, 2024

What do you mean by adding Dependencies.kt to my project?

Do you mean simply copy android-stepper/buildSrc/src/main/java/Dependencies.kt to MyApplication/app/src/main/java/com/example/myapplication/Dependencies.kt? Or there is another way to do it, e.g. as a reference?

Anyway copying does not work, the error stays the same.

from android-stepper.

acefalobi avatar acefalobi commented on August 20, 2024

No, I meant copying it to your buildSrc module (if you have one).

from android-stepper.

mspnr avatar mspnr commented on August 20, 2024

Nope, I don't have buildSrc in my project. I created my project by selecting in Android Studio: New project / Phone or tablet / Empty activity. All other settings are left as suggested by Android Studio. What do you suggest to do?

from android-stepper.

acefalobi avatar acefalobi commented on August 20, 2024

In that case, I would suggest you create a buildSrc module or copy the contents of Dependencies.kt into the stepper build.gradle.kts

from android-stepper.

KeeganDC avatar KeeganDC commented on August 20, 2024

Did anyone manage to import the library folder as an external module successfully? I have the same issues as OP

from android-stepper.

acefalobi avatar acefalobi commented on August 20, 2024

What exact issues did you have @NageekDC ?

from android-stepper.

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.