Giter Club home page Giter Club logo

Comments (4)

pocorall avatar pocorall commented on August 19, 2024

The error message you posted is definitely the compiler cannot find android library.

You posted detailed configuration, but I am not clear that you set the launch configuration properly:

https://github.com/pocorall/hello-scaloid-sbt#import-the-sbt-project

Especially in this part:

Edit the generated run configuration. Remove the 'Before launch: Make' then add a new SBT command android:package-debug then tab out or it will not save, then click OK then OK.

If you succeed to build and launch with sbt ~run command, it is also a good idea to use command-line sbt.

from hello-scaloid-sbt.

aguestuser avatar aguestuser commented on August 19, 2024

@pocorall very reassuring someone can pin down the cause of the compile error!

sadly, i'm not sure the suggestion about launch configurations gets me anywhere. i followed the instructions to replace Make with the android-package-debug command, and have confirmed a few times that i did so according to the instructions.

are there any other things that could be causing this? any output i could examine or share that would help pinpoint the problem? perhaps something about the new lolipop sdk doesn't play nice with scaloid dependencies?

also, as to using command-line sbt, my workflow (testing, docs, typechecking, etc..) is all tied to intellij, so ditching it is a possible but highly undesirable solution. given that i've got a couple other folks who want to also use scaloid in intellij and are hitting the same issue, it seems like a substantial enough use case to try to drill down on and solve for all of us.

(that anyway is my thinking on why it's worth my personal time trying to pursue the problem despite an intractable impasse. you of course should use your time however you see best fit! :))

/a/

from hello-scaloid-sbt.

szymonwartak avatar szymonwartak commented on August 19, 2024

@pocorall I am having the same error and I checked that the android library is on the bootclasspath in compiler options. @aguestuser , what was your resolution?

from hello-scaloid-sbt.

pocorall avatar pocorall commented on August 19, 2024

In your first posting,

tried to compile

How did you compile it?

Just Run the project [Shift + F10] is enough, if you setup the sbt task properly in Run/Debug Configurations dialog.

from hello-scaloid-sbt.

Related Issues (16)

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.