Comments (4)
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.
@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.
@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.
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)
- Please add a license file to the repo HOT 1
- newer android tools results in "can't find zipalign"
- Running error in Idea HOT 2
- Errors in generated eclipse project using scala-ide HOT 4
- Run andropid app issue
- Run app error HOT 1
- Erros when importing project in Eclipse HOT 1
- Failed to import into IntelliJ IDEA 14.1.4 HOT 1
- Various issues when import project to Idea
- Can not add new activity class to Scaloid project HOT 1
- HelloScaloid is already defined as class HelloScaloid HOT 2
- No devices connected HOT 2
- Cannot get code compiled in IntelliJ IDEA 13.1.3 HOT 8
- Test setup example. HOT 3
- Building with sbt : proguard error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-scaloid-sbt.