title: sbt: object app is not a member of package
body: <p>I successfully built the Scala-only project template from the <a href="https://github.com/jberkel/android-plugin" rel="nofollow">sbt android plugin</a>.  Next, I tried to add some Java sources to my project and got the following error in TR.scala.  TR.scala is a file generated from the Java sources.</p>
  
  <pre><code>[info] Compiling 2 Scala sources and 5 Java sources to D:\Workspaces\MyProject\my-project\target\scala-2.9.0-1\classes...
  [error] D:\Workspaces\MyProject\my-project\target\src_managed\main\scala\com\mydomain\myproject\TR.scala:2: object app is not a member of package com.mydomain.myproject.android
  [error] import android.app.Activity
  [error]                ^
  [error] D:\Workspaces\MyProject\my-project\target\src_managed\main\scala\com\mydomain\myproject\TR.scala:3: object view is not a member of package com.mydomain.myproject.android
  [error] import android.view.View
  [error]                ^
  [error] two errors found
  [error] {file:/D:/Workspaces/MyProject/my-project/}My Project/compile:compile: Compilation failed
  [error] Total time: 5 s, completed Oct 12, 2011 11:20:55 AM
  </code></pre>