Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Default settings lead to java.lang.NoClassDefFoundError: ....R$layout #136

Open
@scvalex

Description

@scvalex

Using Scala 2.9.2, sbt 0.12.0, and android-plugin from the tip of the repo, this happens:

Following the instructions in the Getting Started guide, the resulting project compiles, installs, but fails to start with the error:

08-12 11:30:03.129: E/AndroidRuntime(30468): java.lang.NoClassDefFoundError: org.abstractbinary.combien.R$layout

Adding the following to fullAndroidSettings in `Build.scala' seems to fix the problem:

 ++ Seq (
  compileOrder := CompileOrder.JavaThenScala
)

I haven't been able to figure out what's going on or why that change fixes it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions