-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error with IntelliJ 14 / Android SDK 21 #12
Comments
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:
If you succeed to build and launch with |
@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 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/ |
@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? |
In your first posting,
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. |
I get a Progaurd-related dependency warning upon importing and a ridiculously low-level compile error upon trying to compile or run. Two of my coworkers with similar stacks reproduced the error with the same error message and stack trace.
My specific steps were as follows:
android update project -p .
in the project root(Incidentally, I can compile successfully and generate a working .adk by running
sbt android:package
from the project root.)I am running:
When I import the project, I get the following warnings:
When I try to compile I get the following error message and stack trace:
This is what my build.sbt file looks like:
This is what my progaurd.sbt.txt file looks like:
The text was updated successfully, but these errors were encountered: