Closed DaveGit closed 12 years ago
did you run android:package-debug
before that?
Yes This is the whole sequence:
C:\Users\Dave\my-android-2>sbt
C:\Users\Dave\my-android-2>set SCRIPT_DIR=c:\sbt\
C:\Users\Dave\my-android-2>set JAVA_OPTS ="-Xss2M -Xmx512M -Xms32M"
C:\Users\Dave\my-android-2>java -jar "c:\sbt\sbt-launch-0.11.2.jar" [info] Loading project definition from C:\Users\Dave\my-android-2\project [info] Set current project to My Android 2 (in build file:/C:/Users/Dave/my-andr oid-2/)
update [success] Total time: 0 s, completed 21-dec-2011 14:01:58 compile [info] Wrote C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandroid\ TR.scala [success] Total time: 1 s, completed 21-dec-2011 14:02:01 android:package-debug [info] Wrote C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandroid\ TR.scala ProGuard, version 4.6 ProGuard is released under the GNU General Public License. You therefore must ensure that programs that link to it (scala, ...) carry the GNU General Public License as well. Alternatively, you can apply for an exception with the author of ProGuard. The output seems up to date [error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug: j ava.lang.reflect.InvocationTargetException [error] Total time: 1 s, completed 21-dec-2011 14:02:28 android:emulator-start Android-1.6 [success] Total time: 0 s, completed 21-dec-2011 14:03:39 android:start-emulator can't find 'C:\Users\Dave\my-android-2\target\my-android-2-0.1.apk' to install
- daemon not running. starting it now on port 5037 *
- daemon started successfully * error: device not found
can you post the output of a clean + android:package-debug with debug logging on?
clean set logLevel := Level.Debug android:package-debug
clean [success] Total time: 0 s, completed 21-dec-2011 14:56:32 set logLevel := Level.Debug [info] Reapplying settings... [info] Set current project to My Android 2 (in build file:/C:/Users/Dave/my-andr oid-2/) android:package-debug [debug] no AIDL files found, skipping [info] Wrote C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandroid\ TR.scala [info] Updating {file:/C:/Users/Dave/my-android-2/}My Android 2... [debug] Other repositories: [debug] Default repositories: [debug] Raw(ProjectResolver(inter-project, mapped: )) [debug] FileRepository(local,FileConfiguration(true,None),sbt.Patterns@c 125d9) [debug] public: http://repo1.maven.org/maven2/ [debug] Scala-Tools Maven2 Repository: http://scala-tools.org/repo-relea ses [debug] Using inline dependencies specified in Scala. [debug] post 1.3 ivy file: using exact as default matcher [debug] :: resolving dependencies :: my-android-2#my-android-2_2.9.1;0.1 [debug] confs: [compile, runtime, test, provided, optional, compile-inte rnal, runtime-internal, test-internal, plugin, sources, docs, pom] [debug] validate = true [debug] refresh = false [debug] resolving dependencies for configuration 'compile' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile [debug] using sbt-chain to resolve org.scala-lang#scala-library;2.9.1 [info] Resolving org.scala-lang#scala-library;2.9.1 ... [debug] sbt-chain: Checking cache for: dependency: org.scala-lang#scala-library; 2.9.1 {compile=[default(compile)]} [debug] sbt-chain: no namespace defined: using system [debug] No entry is found in the ModuleDescriptorCache : C:\Users\Dave.ivy2\cac he\org.scala-lang\scala-library\ivy-2.9.1.xml [debug] post 1.3 ivy file: using exact as default matcher [debug] found ivy file in cache for org.scala-lang#scala-library;2.9.1 ( resolved by sbt-chain): C:\Users\Dave.ivy2\cache\org.scala-lang\scala-library\i vy-2.9.1.xml [debug] sbt-chain: module revision found in cache: org.scala-lang#scala-library; 2.9.1 [debug] sbt-chain: no latest strategy defined: using default [debug] local: no namespace defined: using system [debug] Entry is found in the ModuleDescriptorCache : C:\Users\Dave.ivy2\cache\ org.scala-lang\scala-library\ivy-2.9.1.xml [debug] found ivy file in cache for org.scala-lang#scala-library;2.9.1 ( resolved by sbt-chain): C:\Users\Dave.ivy2\cache\org.scala-lang\scala-library\i vy-2.9.1.xml [debug] local: revision in cache: org.scala-lang#scala-library;2.9.1 [debug] checking org.scala-lang#scala-library;2.9.1 from sbt-chain again st [none] [debug] module revision kept as first found: org.scala-lang#scala-librar y;2.9.1 from sbt-chain [debug] found org.scala-lang#scala-library;2.9.1 in sbt-chain [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile [debug] resolving dependencies for configuration 'runtime' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti me] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime [debug] runtime is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime [debug] runtime is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime [debug] runtime is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime [debug] runtime is loaded and no conf to load. Skip loading [debug] resolving dependencies for configuration 'test' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti me] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->default(compile)] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test [debug] using sbt-chain to resolve org.scalatest#scalatest_2.9.1;1.6.1 [info] Resolving org.scalatest#scalatest_2.9.1;1.6.1 ... [debug] sbt-chain: Checking cache for: dependency: org.scalatest#scalatest_2.9.1 ;1.6.1 {test=[default(compile)]} [debug] No entry is found in the ModuleDescriptorCache : C:\Users\Dave.ivy2\cac he\org.scalatest\scalatest_2.9.1\ivy-1.6.1.xml [debug] post 1.3 ivy file: using exact as default matcher [debug] found ivy file in cache for org.scalatest#scalatest_2.9.1;1.6.1 (resolved by public): C:\Users\Dave.ivy2\cache\org.scalatest\scalatest_2.9.1\iv y-1.6.1.xml [debug] sbt-chain: module revision found in cache: org.scalatest#scalatest_2.9.1 ;1.6.1 [debug] Entry is found in the ModuleDescriptorCache : C:\Users\Dave.ivy2\cache\ org.scalatest\scalatest_2.9.1\ivy-1.6.1.xml [debug] found ivy file in cache for org.scalatest#scalatest_2.9.1;1.6.1 (resolved by public): C:\Users\Dave.ivy2\cache\org.scalatest\scalatest_2.9.1\iv y-1.6.1.xml [debug] local: revision in cache: org.scalatest#scalatest_2.9.1;1.6.1 [debug] checking org.scalatest#scalatest_2.9.1;1.6.1 from public against [none] [debug] module revision kept as first found: org.scalatest#scalatest_2.9 .1;1.6.1 from public [debug] found org.scalatest#scalatest_2.9.1;1.6.1 in public [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->runtime] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->compile] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [compile->master()] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [compile->compile()] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [runtime->runtime(*)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [runtime->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test [debug] test is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->master] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test [debug] resolving dependencies for configuration 'provided' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi ded] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=provided [debug] resolving dependencies for configuration 'optional' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio nal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=optional [debug] resolving dependencies for configuration 'compile-internal' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le-internal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte rnal [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte rnal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter nal [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter nal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter nal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter nal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio nal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte rnal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi ded] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte rnal [debug] compile-internal is loaded and no conf to load. Skip loading [debug] resolving dependencies for configuration 'runtime-internal' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti me-internal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte rnal [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti me] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte rnal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte rnal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter nal [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter nal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter nal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter nal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio nal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte rnal [debug] runtime-internal is loaded and no conf to load. Skip loading [debug] resolving dependencies for configuration 'test-internal' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test- internal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti me] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi le] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->default(compile)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->runtime] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala -lang#scala-library;2.9.1 [compile->master] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->default(compile)] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna l [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->runtime] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->compile] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [compile->master(*)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [compile->compile(*)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [runtime->runtime(*)] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala -lang#scala-library;2.9.1 [runtime->compile] [debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala test#scalatest_2.9.1;1.6.1 [test->master] [debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio nal] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi ded] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna l [debug] test-internal is loaded and no conf to load. Skip loading [debug] resolving dependencies for configuration 'plugin' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [plugi n] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=plugin [debug] resolving dependencies for configuration 'sources' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [sourc es] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=sources [debug] resolving dependencies for configuration 'docs' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [docs]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=docs [debug] resolving dependencies for configuration 'pom' [debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [pom] [debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=pom [debug] Nbr of module to sort : 2 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d ependencies = 12 [debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1 [debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1 [debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala -lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca la-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] resolved ivy file produced in C:\Users\Dave.ivy2\cache\resolved -my-android-2-my-android-2_2.9.1-0.1.xml [debug] :: downloading artifacts :: [debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala -lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca la-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala -lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca la-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang# scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc ala-lang#scala-library;2.9.1!scala-library.jar [debug] [NOT REQUIRED] org.scalatest#scalatest_2.9.1;1.6.1!scalatest_2.9 .1.jar [debug] :: resolution report :: resolve 375ms :: artifacts dl 15ms [debug] Nbr of module to sort : 1 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 compile produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-compile.xml [debug] Nbr of module to sort : 1 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 runtime produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-runtime.xml [debug] Nbr of module to sort : 2 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d ependencies = 12 [debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1 [debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 test produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-test.xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 provided produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-provided.xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 optional produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-optional.xml [debug] Nbr of module to sort : 1 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 compile-internal produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-compile-in ternal.xml [debug] Nbr of module to sort : 1 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 runtime-internal produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-runtime-in ternal.xml [debug] Nbr of module to sort : 2 [debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de pendencies = 0 [debug] Sort done for : org.scala-lang#scala-library;2.9.1 [debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d ependencies = 12 [debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1 [debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1 [debug] report for my-android-2#my-android-2_2.9.1;0.1 test-internal pro duced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-test-internal .xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 plugin produced i n C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-plugin.xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 sources produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-sources.xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 docs produced in C:\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-docs.xml [debug] Nbr of module to sort : 0 [debug] report for my-android-2#my-android-2_2.9.1;0.1 pom produced in C :\Users\Dave.ivy2\cache\my-android-2-my-android-2_2.9.1-pom.xml [debug] resolve done (375ms resolve - 15ms download) [info] Done updating. [debug] [debug] Initial source changes: [debug] removed:Set() [debug] added: Set() [debug] modified: Set() [debug] Removed products: Set(C:\Users\Dave\my-android-2\target\scala-2.9.1\clas ses\myandroid\TypedResource$$anon$2.class, C:\Users\Dave\my-android-2\target\sca la-2.9.1\classes\myandroid\TypedLayout.class, C:\Users\Dave\my-android-2\target\ scala-2.9.1\classes\myandroid\TypedResource.class, C:\Users\Dave\my-android-2\ta rget\scala-2.9.1\classes\myandroid\R$string.class, C:\Users\Dave\my-android-2\ta rget\scala-2.9.1\classes\myandroid\TypedActivity.class, C:\Users\Dave\my-android -2\target\scala-2.9.1\classes\myandroid\TR.class, C:\Users\Dave\my-android-2\tar get\scala-2.9.1\classes\myandroid\TypedDialog.class, C:\Users\Dave\my-android-2\ target\scala-2.9.1\classes\myandroid\TypedViewHolder$class.class, C:\Users\Dave\ my-android-2\target\scala-2.9.1\classes\myandroid\TypedView.class, C:\Users\Dave \my-android-2\target\scala-2.9.1\classes\myandroid\R$attr.class, C:\Users\Dave\m y-android-2\target\scala-2.9.1\classes\myandroid\TR$layout$.class, C:\Users\Dave \my-android-2\target\scala-2.9.1\classes\myandroid\TypedLayout$.class, C:\Users\ Dave\my-android-2\target\scala-2.9.1\classes\myandroid\TypedResource$$anon$3.cla ss, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes\myandroid\TypedActivit yHolder.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes\myandroid\M ainActivity$$anon$1.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes \myandroid\TypedViewHolder.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\ classes\myandroid\MainActivity.class, C:\Users\Dave\my-android-2\target\scala-2. 9.1\classes\myandroid\R.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\cla sses\myandroid\TypedResource$.class, C:\Users\Dave\my-android-2\target\scala-2.9 .1\classes\myandroid\TR$.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\cl asses\myandroid\TypedResource$$anon$1.class) [debug] Modified external sources: Set() [debug] Modified binary dependencies: Set() [debug] Initial directly invalidated sources: Set() [debug] [debug] Sources indirectly invalidated by: [debug] product: Set(C:\Users\Dave\my-android-2\target\src_managed\main\ scala\myandroid\TR.scala, C:\Users\Dave\my-android-2\target\src_managed\main\jav a\myandroid\R.java, C:\Users\Dave\my-android-2\src\main\scala\Activity.scala) [debug] binary dep: Set() [debug] external source: Set() [debug] Initially invalidated: Set(C:\Users\Dave\my-android-2\target\src_managed \main\scala\myandroid\TR.scala, C:\Users\Dave\my-android-2\target\src_managed\ma in\java\myandroid\R.java, C:\Users\Dave\my-android-2\src\main\scala\Activity.sca la) [info] Compiling 2 Scala sources and 1 Java source to C:\Users\Dave\my-android-2 \target\scala-2.9.1\classes... [debug] Getting compiler-interface from component compiler for Scala 2.9.1 [debug] Interfacing (CompilerInterface) with Scala compiler version 2.9.1.final [debug] Calling Scala compiler with arguments (CompilerInterface): [debug] -deprecation [debug] -d [debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes [debug] -bootclasspath [debug] C:\Program Files\Java\jdk1.6.0_30\jre\lib\resources.jar;C:\Progr am Files\Java\jdk1.6.0_30\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_30\jre\l ib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib \charsets.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib\modules\jdk.boot.jar;C:\ Program Files\Java\jdk1.6.0_30\jre\classes;C:\Users\Dave.sbt\boot\scala-2.9.1\l ib\scala-library.jar [debug] -classpath [debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes;C:\Program Files\Android\android-sdk\platforms\android-14\android.jar [debug] C:\Users\Dave\my-android-2\src\main\scala\Activity.scala [debug] C:\Users\Dave\my-android-2\target\src_managed\main\java\myandroi d\R.java [debug] C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandro id\TR.scala [debug] running javac with arguments: [debug] -target [debug] 6 [debug] -source [debug] 6 [debug] -bootclasspath [debug] C:/Program Files/Java/jdk1.6.0_30/lib/rt.jar [debug] -d [debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes [debug] -classpath [debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes;C:\Program Files\Android\android-sdk\platforms\android-14\android.jar;C:\Users\Dave.sbt\b oot\scala-2.9.1\lib\scala-library.jar;C:\Users\Dave.sbt\boot\scala-2.9.1\lib\sc ala-library.jar [debug] C:\Users\Dave\my-android-2\target\src_managed\main\java\myandroi d\R.java [debug] com.sun.tools.javac.Main not found; forking javac instead [debug] Forking javac: javac @C:/Users/Dave/AppData/Local/Temp/sbtfc277212/argf ile [debug] javac returned exit code: 0 [debug] Invalidated direct: Set() [debug] Incrementally invalidated: Set() [debug] Copy resource mappings: [debug] [debug] executing proguard: -injars [debug] "C:\Users\Dave\my-android-2\target\scala-2.9.1\classes";"C:\Users\Dave. sbt\boot\scala-2.9.1\lib\scala-library.jar"(!META-INF/MANIFEST.MF,!*/R.class,! /R$.class,!/TR.class,!/TR$.class,!*/library.properties) [debug] -outjars [debug] "C:\Users\Dave\my-android-2\target\classes.min.jar" [debug] -libraryjars [debug] "C:\Program Files\Android\android-sdk\platforms\android-14\android.jar" [debug] -dontoptimize [debug] -dontwarn [debug] -dontobfuscate [debug] -dontnote scala.Enumeration [debug] -dontnote org.xml.sax.EntityResolver [debug] -keep public class * extends android.app.Activity [debug] -keep public class * extends android.app.Service [debug] -keep public class * extends android.appwidget.AppWidgetProvider [debug] -keep public class * extends android.content.BroadcastReceiver [debug] -keep public class * extends android.content.ContentProvider [debug] -keep public class * extends android.view.View [debug] -keep public class * extends android.app.Application [debug] -keep public class myandroid.* { public protected ; } [debug] -keep public class * implements junit.framework.Test { public void test_ (); } ProGuard, version 4.6 ProGuard is released under the GNU General Public License. You therefore must ensure that programs that link to it (scala, ...) carry the GNU General Public License as well. Alternatively, you can apply for an exception with the author of ProGuard. Reading program directory [C:\Users\Dave\my-android-2\target\scala-2.9.1\classes ] Reading program jar C:\Users\Dave.sbt\boot\scala-2.9.1\lib\scala-library.jar Reading library jar [C:\Program Files\Android\android-sdk\platforms\android-14\a ndroid.jar] Note: the configuration keeps the entry point 'myandroid.TypedLayout { scala.Fun ction1 andThen(scala.Function1); }', but not the descriptor class 'scala.Functio n1' Note: the configuration keeps the entry point 'myandroid.TypedLayout { scala.Fun ction1 compose(scala.Function1); }', but not the descriptor class 'scala.Functio n1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose(scala.Function1); }', but not the descriptor class 'sca la.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcZD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcDD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcFD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcID$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcJD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcVD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcZF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcDF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcFF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcIF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcJF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcVF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcZI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcDI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcFI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcII$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcJI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcVI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcZJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcDJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcFJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcIJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcJJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 compose$mcVJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen(scala.Function1); }', but not the descriptor class 'sca la.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcZD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcDD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcFD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcID$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcJD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcVD$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcZF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcDF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcFF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcIF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcJF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcVF$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcZI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcDI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcFI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcII$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcJI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcVI$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcZJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcDJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcFJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcIJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcJJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: the configuration keeps the entry point 'scala.runtime.AbstractFunction1 { scala.Function1 andThen$mcVJ$sp(scala.Function1); }', but not the descriptor cl ass 'scala.Function1' Note: there were 52 unkept descriptor classes in kept class members. You should consider explicitly keeping the mentioned classes (using '-keep'). Note: You're ignoring all warnings! Preparing output jar [C:\Users\Dave\my-android-2\target\classes.min.jar] Copying resources from program directory [C:\Users\Dave\my-android-2\target\sc ala-2.9.1\classes] Copying resources from program jar C:\Users\Dave.sbt\boot\scala-2.9.1\lib\sc ala-library.jar [debug] C:\Program Files\Android\android-sdk\platform-tools\dx.bat --dex --outpu t=C:\Users\Dave\my-android-2\target\classes.dex C:\Users\Dave\my-android-2\targe t\classes.min.jar [info] Dexing C:\Users\Dave\my-android-2\target\classes.dex [debug] [debug] packaging: C:\Program Files\Android\android-sdk\platform-tools\aapt pack age --auto-add-overlay -f -M C:\Users\Dave\my-android-2\src\main\AndroidManifest .xml -S C:\Users\Dave\my-android-2\src\main\res -A C:\Users\Dave\my-android-2\sr c\main\assets -I C:\Program Files\Android\android-sdk\platforms\android-14\andro id.jar -F C:\Users\Dave\my-android-2\target\resources.apk [error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug: j ava.lang.reflect.InvocationTargetException [error] Total time: 90 s, completed 21-dec-2011 14:58:16
followed by > last (the stacktrack is suppressed)
The last ">" is the sbt prompt. There is nothing more.
Before the lines: clean set logLevel := Level.Debug android:package-debug there should be a ">" sbt prompt too but is filtered away by github.
no, the command is "last" (to show the last stacktrace)
> last
[debug] Running task... Cancelable: false, max worker threads: 2, check cycles:
false
[debug] no AIDL files found, skipping
[info] Wrote C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandroid\
TR.scala
[info] Updating {file:/C:/Users/Dave/my-android-2/}My Android 2...
[debug] Other repositories:
[debug] Default repositories:
[debug] Raw(ProjectResolver(inter-project, mapped: ))
[debug] FileRepository(local,FileConfiguration(true,None),sbt.Patterns@c
125d9)
[debug] public: http://repo1.maven.org/maven2/
[debug] Scala-Tools Maven2 Repository: http://scala-tools.org/repo-relea
ses
[debug] Using inline dependencies specified in Scala.
[debug] post 1.3 ivy file: using exact as default matcher
[debug] :: resolving dependencies :: my-android-2#my-android-2_2.9.1;0.1
[debug] confs: [compile, runtime, test, provided, optional, compile-inte
rnal, runtime-internal, test-internal, plugin, sources, docs, pom]
[debug] validate = true
[debug] refresh = false
[debug] resolving dependencies for configuration 'compile'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile
[debug] using sbt-chain to resolve org.scala-lang#scala-library;2.9.1
[info] Resolving org.scala-lang#scala-library;2.9.1 ...
[debug] sbt-chain: Checking cache for: dependency: org.scala-lang#scala-library;
2.9.1 {compile=[default(compile)]}
[debug] sbt-chain: no namespace defined: using system
[debug] No entry is found in the ModuleDescriptorCache : C:\Users\Dave\.ivy2\cac
he\org.scala-lang\scala-library\ivy-2.9.1.xml
[debug] post 1.3 ivy file: using exact as default matcher
[debug] found ivy file in cache for org.scala-lang#scala-library;2.9.1 (
resolved by sbt-chain): C:\Users\Dave\.ivy2\cache\org.scala-lang\scala-library\i
vy-2.9.1.xml
[debug] sbt-chain: module revision found in cache: org.scala-lang#scala-library;
2.9.1
[debug] sbt-chain: no latest strategy defined: using default
[debug] local: no namespace defined: using system
[debug] Entry is found in the ModuleDescriptorCache : C:\Users\Dave\.ivy2\cache\
org.scala-lang\scala-library\ivy-2.9.1.xml
[debug] found ivy file in cache for org.scala-lang#scala-library;2.9.1 (
resolved by sbt-chain): C:\Users\Dave\.ivy2\cache\org.scala-lang\scala-library\i
vy-2.9.1.xml
[debug] local: revision in cache: org.scala-lang#scala-library;2.9.1
[debug] checking org.scala-lang#scala-library;2.9.1 from sbt-chain again
st [none]
[debug] module revision kept as first found: org.scala-lang#scala-librar
y;2.9.1 from sbt-chain
[debug] found org.scala-lang#scala-library;2.9.1 in sbt-chain
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile
[debug] resolving dependencies for configuration 'runtime'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti
me]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime
[debug] runtime is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime
[debug] runtime is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime
[debug] runtime is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime
[debug] runtime is loaded and no conf to load. Skip loading
[debug] resolving dependencies for configuration 'test'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti
me]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->default(compile)]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test
[debug] using sbt-chain to resolve org.scalatest#scalatest_2.9.1;1.6.1
[info] Resolving org.scalatest#scalatest_2.9.1;1.6.1 ...
[debug] sbt-chain: Checking cache for: dependency: org.scalatest#scalatest_2.9.1
;1.6.1 {test=[default(compile)]}
[debug] No entry is found in the ModuleDescriptorCache : C:\Users\Dave\.ivy2\cac
he\org.scalatest\scalatest_2.9.1\ivy-1.6.1.xml
[debug] post 1.3 ivy file: using exact as default matcher
[debug] found ivy file in cache for org.scalatest#scalatest_2.9.1;1.6.1
(resolved by public): C:\Users\Dave\.ivy2\cache\org.scalatest\scalatest_2.9.1\iv
y-1.6.1.xml
[debug] sbt-chain: module revision found in cache: org.scalatest#scalatest_2.9.1
;1.6.1
[debug] Entry is found in the ModuleDescriptorCache : C:\Users\Dave\.ivy2\cache\
org.scalatest\scalatest_2.9.1\ivy-1.6.1.xml
[debug] found ivy file in cache for org.scalatest#scalatest_2.9.1;1.6.1
(resolved by public): C:\Users\Dave\.ivy2\cache\org.scalatest\scalatest_2.9.1\iv
y-1.6.1.xml
[debug] local: revision in cache: org.scalatest#scalatest_2.9.1;1.6.1
[debug] checking org.scalatest#scalatest_2.9.1;1.6.1 from public against
[none]
[debug] module revision kept as first found: org.scalatest#scalatest_2.9
.1;1.6.1 from public
[debug] found org.scalatest#scalatest_2.9.1;1.6.1 in public
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->runtime]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->compile]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [compile->master(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [compile->compile(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [runtime->runtime(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [runtime->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test
[debug] test is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->master]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test
[debug] resolving dependencies for configuration 'provided'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi
ded]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=provided
[debug] resolving dependencies for configuration 'optional'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio
nal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=optional
[debug] resolving dependencies for configuration 'compile-internal'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le-internal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte
rnal
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte
rnal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter
nal
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter
nal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter
nal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=compile-inter
nal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio
nal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte
rnal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi
ded]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=compile-inte
rnal
[debug] compile-internal is loaded and no conf to load. Skip loading
[debug] resolving dependencies for configuration 'runtime-internal'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti
me-internal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte
rnal
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti
me]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte
rnal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte
rnal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter
nal
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter
nal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter
nal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=runtime-inter
nal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio
nal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=runtime-inte
rnal
[debug] runtime-internal is loaded and no conf to load. Skip loading
[debug] resolving dependencies for configuration 'test-internal'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test-
internal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [test]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [runti
me]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [compi
le]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->default(compile)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->runtime]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
-lang#scala-library;2.9.1 [compile->master]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->default(compile)]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna
l
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->runtime]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->compile]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [compile->master(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [compile->compile(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [runtime->runtime(*)]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies org.scalatest#scalatest_2.9.1;1.6.1->org.scala
-lang#scala-library;2.9.1 [runtime->compile]
[debug] loadData of org.scala-lang#scala-library;2.9.1 of rootConf=test-internal
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies my-android-2#my-android-2_2.9.1;0.1->org.scala
test#scalatest_2.9.1;1.6.1 [test->master]
[debug] loadData of org.scalatest#scalatest_2.9.1;1.6.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [optio
nal]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [provi
ded]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=test-interna
l
[debug] test-internal is loaded and no conf to load. Skip loading
[debug] resolving dependencies for configuration 'plugin'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [plugi
n]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=plugin
[debug] resolving dependencies for configuration 'sources'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [sourc
es]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=sources
[debug] resolving dependencies for configuration 'docs'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [docs]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=docs
[debug] resolving dependencies for configuration 'pom'
[debug] == resolving dependencies for my-android-2#my-android-2_2.9.1;0.1 [pom]
[debug] loadData of my-android-2#my-android-2_2.9.1;0.1 of rootConf=pom
[debug] Nbr of module to sort : 2
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d
ependencies = 12
[debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1
[debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1
[debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala
-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca
la-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] resolved ivy file produced in C:\Users\Dave\.ivy2\cache\resolved
-my-android-2-my-android-2_2.9.1-0.1.xml
[debug] :: downloading artifacts ::
[debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala
-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca
la-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in test-internal: excluding org.scala
-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in test: excluding org.scala-lang#sca
la-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime: excluding org.scala-lang#
scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in runtime-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] org.scala-lang#scala-library;2.9.1 in compile-internal: excluding org.sc
ala-lang#scala-library;2.9.1!scala-library.jar
[debug] [NOT REQUIRED] org.scalatest#scalatest_2.9.1;1.6.1!scalatest_2.9
.1.jar
[debug] :: resolution report :: resolve 375ms :: artifacts dl 15ms
[debug] Nbr of module to sort : 1
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 compile produced
in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-compile.xml
[debug] Nbr of module to sort : 1
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 runtime produced
in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-runtime.xml
[debug] Nbr of module to sort : 2
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d
ependencies = 12
[debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1
[debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 test produced in
C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-test.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 provided produced
in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-provided.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 optional produced
in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-optional.xml
[debug] Nbr of module to sort : 1
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 compile-internal
produced in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-compile-in
ternal.xml
[debug] Nbr of module to sort : 1
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 runtime-internal
produced in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-runtime-in
ternal.xml
[debug] Nbr of module to sort : 2
[debug] Sort dependencies of : org.scala-lang#scala-library;2.9.1 / Number of de
pendencies = 0
[debug] Sort done for : org.scala-lang#scala-library;2.9.1
[debug] Sort dependencies of : org.scalatest#scalatest_2.9.1;1.6.1 / Number of d
ependencies = 12
[debug] Module descriptor is processed : org.scala-lang#scala-library;2.9.1
[debug] Sort done for : org.scalatest#scalatest_2.9.1;1.6.1
[debug] report for my-android-2#my-android-2_2.9.1;0.1 test-internal pro
duced in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-test-internal
.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 plugin produced i
n C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-plugin.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 sources produced
in C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-sources.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 docs produced in
C:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-docs.xml
[debug] Nbr of module to sort : 0
[debug] report for my-android-2#my-android-2_2.9.1;0.1 pom produced in C
:\Users\Dave\.ivy2\cache\my-android-2-my-android-2_2.9.1-pom.xml
[debug] resolve done (375ms resolve - 15ms download)
[info] Done updating.
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set(C:\Users\Dave\my-android-2\target\scala-2.9.1\clas
ses\myandroid\TypedResource$$anon$2.class, C:\Users\Dave\my-android-2\target\sca
la-2.9.1\classes\myandroid\TypedLayout.class, C:\Users\Dave\my-android-2\target\
scala-2.9.1\classes\myandroid\TypedResource.class, C:\Users\Dave\my-android-2\ta
rget\scala-2.9.1\classes\myandroid\R$string.class, C:\Users\Dave\my-android-2\ta
rget\scala-2.9.1\classes\myandroid\TypedActivity.class, C:\Users\Dave\my-android
-2\target\scala-2.9.1\classes\myandroid\TR.class, C:\Users\Dave\my-android-2\tar
get\scala-2.9.1\classes\myandroid\TypedDialog.class, C:\Users\Dave\my-android-2\
target\scala-2.9.1\classes\myandroid\TypedViewHolder$class.class, C:\Users\Dave\
my-android-2\target\scala-2.9.1\classes\myandroid\TypedView.class, C:\Users\Dave
\my-android-2\target\scala-2.9.1\classes\myandroid\R$attr.class, C:\Users\Dave\m
y-android-2\target\scala-2.9.1\classes\myandroid\TR$layout$.class, C:\Users\Dave
\my-android-2\target\scala-2.9.1\classes\myandroid\TypedLayout$.class, C:\Users\
Dave\my-android-2\target\scala-2.9.1\classes\myandroid\TypedResource$$anon$3.cla
ss, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes\myandroid\TypedActivit
yHolder.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes\myandroid\M
ainActivity$$anon$1.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\classes
\myandroid\TypedViewHolder.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\
classes\myandroid\MainActivity.class, C:\Users\Dave\my-android-2\target\scala-2.
9.1\classes\myandroid\R.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\cla
sses\myandroid\TypedResource$.class, C:\Users\Dave\my-android-2\target\scala-2.9
.1\classes\myandroid\TR$.class, C:\Users\Dave\my-android-2\target\scala-2.9.1\cl
asses\myandroid\TypedResource$$anon$1.class)
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set(C:\Users\Dave\my-android-2\target\src_managed\main\
scala\myandroid\TR.scala, C:\Users\Dave\my-android-2\target\src_managed\main\jav
a\myandroid\R.java, C:\Users\Dave\my-android-2\src\main\scala\Activity.scala)
[debug] binary dep: Set()
[debug] external source: Set()
[debug] Initially invalidated: Set(C:\Users\Dave\my-android-2\target\src_managed
\main\scala\myandroid\TR.scala, C:\Users\Dave\my-android-2\target\src_managed\ma
in\java\myandroid\R.java, C:\Users\Dave\my-android-2\src\main\scala\Activity.sca
la)
[info] Compiling 2 Scala sources and 1 Java source to C:\Users\Dave\my-android-2
\target\scala-2.9.1\classes...
[debug] Getting compiler-interface from component compiler for Scala 2.9.1
[debug] Interfacing (CompilerInterface) with Scala compiler version 2.9.1.final
[debug] Calling Scala compiler with arguments (CompilerInterface):
[debug] -deprecation
[debug] -d
[debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes
[debug] -bootclasspath
[debug] C:\Program Files\Java\jdk1.6.0_30\jre\lib\resources.jar;C:\Progr
am Files\Java\jdk1.6.0_30\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_30\jre\l
ib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.6.0_30\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib
\charsets.jar;C:\Program Files\Java\jdk1.6.0_30\jre\lib\modules\jdk.boot.jar;C:\
Program Files\Java\jdk1.6.0_30\jre\classes;C:\Users\Dave\.sbt\boot\scala-2.9.1\l
ib\scala-library.jar
[debug] -classpath
[debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes;C:\Program
Files\Android\android-sdk\platforms\android-14\android.jar
[debug] C:\Users\Dave\my-android-2\src\main\scala\Activity.scala
[debug] C:\Users\Dave\my-android-2\target\src_managed\main\java\myandroi
d\R.java
[debug] C:\Users\Dave\my-android-2\target\src_managed\main\scala\myandro
id\TR.scala
[debug] running javac with arguments:
[debug] -target
[debug] 6
[debug] -source
[debug] 6
[debug] -bootclasspath
[debug] C:/Program Files/Java/jdk1.6.0_30/lib/rt.jar
[debug] -d
[debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes
[debug] -classpath
[debug] C:\Users\Dave\my-android-2\target\scala-2.9.1\classes;C:\Program
Files\Android\android-sdk\platforms\android-14\android.jar;C:\Users\Dave\.sbt\b
oot\scala-2.9.1\lib\scala-library.jar;C:\Users\Dave\.sbt\boot\scala-2.9.1\lib\sc
ala-library.jar
[debug] C:\Users\Dave\my-android-2\target\src_managed\main\java\myandroi
d\R.java
[debug] com.sun.tools.javac.Main not found; forking javac instead
[debug] Forking javac: javac @C:/Users/Dave/AppData/Local/Temp/sbt_fc277212/argf
ile
[debug] javac returned exit code: 0
[debug] Invalidated direct: Set()
[debug] Incrementally invalidated: Set()
[debug] Copy resource mappings:
[debug]
[debug] executing proguard: -injars
[debug] "C:\Users\Dave\my-android-2\target\scala-2.9.1\classes";"C:\Users\Dave\.
sbt\boot\scala-2.9.1\lib\scala-library.jar"(!META-INF/MANIFEST.MF,!**/R.class,!*
*/R$*.class,!**/TR.class,!**/TR$.class,!**/library.properties)
[debug] -outjars
[debug] "C:\Users\Dave\my-android-2\target\classes.min.jar"
[debug] -libraryjars
[debug] "C:\Program Files\Android\android-sdk\platforms\android-14\android.jar"
[debug] -dontoptimize
[debug] -dontwarn
[debug] -dontobfuscate
[debug] -dontnote scala.Enumeration
[debug] -dontnote org.xml.sax.EntityResolver
[debug] -keep public class * extends android.app.Activity
[debug] -keep public class * extends android.app.Service
[debug] -keep public class * extends android.appwidget.AppWidgetProvider
[debug] -keep public class * extends android.content.BroadcastReceiver
[debug] -keep public class * extends android.content.ContentProvider
[debug] -keep public class * extends android.view.View
[debug] -keep public class * extends android.app.Application
[debug] -keep public class myandroid.** { public protected *; }
[debug] -keep public class * implements junit.framework.Test { public void test*
(); }
[debug] C:\Program Files\Android\android-sdk\platform-tools\dx.bat --dex --outpu
t=C:\Users\Dave\my-android-2\target\classes.dex C:\Users\Dave\my-android-2\targe
t\classes.min.jar
[info] Dexing C:\Users\Dave\my-android-2\target\classes.dex
[debug]
[debug] packaging: C:\Program Files\Android\android-sdk\platform-tools\aapt pack
age --auto-add-overlay -f -M C:\Users\Dave\my-android-2\src\main\AndroidManifest
.xml -S C:\Users\Dave\my-android-2\src\main\res -A C:\Users\Dave\my-android-2\sr
c\main\assets -I C:\Program Files\Android\android-sdk\platforms\android-14\andro
id.jar -F C:\Users\Dave\my-android-2\target\resources.apk
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ApkBuilder.<init>(ApkBuilder.scala:35)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:107)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:106)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.android.sdklib.build.ApkCreationException: Unable to get debug si
gnature key
at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:271)
at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:384)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ApkBuilder.<init>(ApkBuilder.scala:35)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:107)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:106)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
[error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug: j
ava.lang.reflect.InvocationTargetException
[error] Total time: 90 s, completed 21-dec-2011 14:58:16
the problem is this: ApkCreationException: Unable to get debug signature key
make sure you have a keystore with a debug key in it.
$ keytool -list -keystore <path to keystore> # not sure where this is on windows
I have a debug.keystore in the directory c:\Users\Dave.android, but how do I tell the android plugin to use it?
C:\Users\Dave\my-android-2>keytool -list -keystore c:\Users\Dave.android\debug.keystore Enter keystore password:
Keystore type: JKS Keystore provider: SUN
Your keystore contains 1 entry
androiddebugkey, 8-jun-2010, PrivateKeyEntry, Certificate fingerprint (MD5): 6A:B5:37:04:73:0C:5F:9E:D3:9C:49:00:B9:C1:B7:DC
The path above is escaped by github It is c:\Users\Dave and then the subfolder .android and inside that folder is the file debug.keystore
it should automatically get used. can you try the latest plugin snapshot, i added some more error logging there (no need to set debug log level)
you might need to clear your ivy / project cache to pull in the latest snapshot (0.6.1-SNAPSHOT)
It doesn't make a difference. I only don't have to do the set LogLevel command. see below
Could it maybe be that the debug.keystore is expired, but no error message is generated?
Also I read that for ant and eclipse: http://developer.android.com/guide/publishing/app-signing.html#setup to delete the debug.keystore and then the debug.keystore should be recreated when building, but sbt doesn't do this.
last [debug] Running task... Cancelable: false, max worker threads: 2, check cycles: false [debug] no AIDL files found, skipping [info] Wrote C:\Users\Dave\my-android-2\target\srcmanaged\main\scala\myandroid\ TR.scala [debug] [debug] Initial source changes: [debug] removed:Set() [debug] added: Set() [debug] modified: Set() [debug] Removed products: Set() [debug] Modified external sources: Set() [debug] Modified binary dependencies: Set() [debug] Initial directly invalidated sources: Set() [debug] [debug] Sources indirectly invalidated by: [debug] product: Set() [debug] binary dep: Set() [debug] external source: Set() [debug] Initially invalidated: Set() [debug] Copy resource mappings: [debug] [debug] executing proguard: -injars [debug] "C:\Users\Dave\my-android-2\target\scala-2.9.1\classes";"C:\Users\Dave. sbt\boot\scala-2.9.1\lib\scala-library.jar"(!META-INF/MANIFEST.MF,!*/R.class,! /R$.class,!/TR.class,!/TR$.class,!*/library.properties) [debug] -outjars [debug] "C:\Users\Dave\my-android-2\target\classes.min.jar" [debug] -libraryjars [debug] "C:\Program Files\Android\android-sdk\platforms\android-14\android.jar" [debug] -dontoptimize [debug] -dontwarn [debug] -dontobfuscate [debug] -dontnote scala.Enumeration [debug] -dontnote org.xml.sax.EntityResolver [debug] -keep public class * extends android.app.Activity [debug] -keep public class * extends android.app.Service [debug] -keep public class * extends android.appwidget.AppWidgetProvider [debug] -keep public class * extends android.content.BroadcastReceiver [debug] -keep public class * extends android.content.ContentProvider [debug] -keep public class * extends android.view.View [debug] -keep public class * extends android.app.Application [debug] -keep public class myandroid.* { public protected ; } [debug] -keep public class * implements junit.framework.Test { public void test_ (); } [debug] C:\Program Files\Android\android-sdk\platform-tools\dx.bat --dex --outpu t=C:\Users\Dave\my-android-2\target\classes.dex C:\Users\Dave\my-android-2\targe t\classes.min.jar [info] Dexing C:\Users\Dave\my-android-2\target\classes.dex [debug] [debug] packaging: C:\Program Files\Android\android-sdk\platform-tools\aapt pack age --auto-add-overlay -f -M C:\Users\Dave\my-android-2\src\main\AndroidManifest .xml -S C:\Users\Dave\my-android-2\src\main\res -A C:\Users\Dave\my-android-2\sr c\main\assets -I C:\Program Files\Android\android-sdk\platforms\android-14\andro id.jar -F C:\Users\Dave\my-android-2\target\resources.apk java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ApkBuilder.
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:106)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.android.sdklib.build.ApkCreationException: Unable to get debug si
gnature key
at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:271)
at com.android.sdklib.build.ApkBuilder.
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ApkBuilder.
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:106)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu re.scala:295) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$5.work(System.scala:67) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22 1) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22 1) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:227) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221) at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26 ) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44 1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at java.lang.Thread.run(Thread.java:662) [error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug: j ava.lang.reflect.InvocationTargetException [error] Total time: 65 s, completed 21-dec-2011 18:18:08
it doesn't look like the new snapshot version.
btw, please post stack trackes enclosed in 3 backticks (for formatting). the debug.keystore gets recreated by sbt (by the sdk tools in fact), i just tried it.
Looks like it is a file access error to debug.keystore "Toegang geweigerd" means "Access Denied"
> last
[debug] Running task... Cancelable: false, max worker threads: 2, check cycles:
false
[debug] no AIDL files found, skipping
[info] Wrote C:\Users\Dave\my-android-2\target\scala-2.9.1\src_managed\main\scal
a\myandroid\TR.scala
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings:
[debug]
[debug] executing proguard: -injars
[debug] "C:\Users\Dave\my-android-2\target\scala-2.9.1\classes";"C:\Users\Dave\.
sbt\boot\scala-2.9.1\lib\scala-library.jar"(!META-INF/MANIFEST.MF,!**/R.class,!*
*/R$*.class,!**/TR.class,!**/TR$.class,!**/library.properties)
[debug] -outjars
[debug] "C:\Users\Dave\my-android-2\target\classes.min.jar"
[debug] -libraryjars
[debug] "C:\Program Files\Android\android-sdk\platforms\android-14\android.jar"
[debug] -dontoptimize
[debug] -dontwarn
[debug] -dontobfuscate
[debug] -dontnote scala.Enumeration
[debug] -dontnote org.xml.sax.EntityResolver
[debug] -keep public class * extends android.app.Activity
[debug] -keep public class * extends android.app.Service
[debug] -keep public class * extends android.appwidget.AppWidgetProvider
[debug] -keep public class * extends android.content.BroadcastReceiver
[debug] -keep public class * extends android.content.ContentProvider
[debug] -keep public class * extends android.view.View
[debug] -keep public class * extends android.app.Application
[debug] -keep public class myandroid.** { public protected *; }
[debug] -keep public class * implements junit.framework.Test { public void test*
(); }
[debug] C:\Program Files\Android\android-sdk\platform-tools\dx.bat --dex --outpu
t=C:\Users\Dave\my-android-2\target\classes.dex C:\Users\Dave\my-android-2\targe
t\classes.min.jar
[info] Dexing C:\Users\Dave\my-android-2\target\classes.dex
[debug]
[debug] packaging: C:\Program Files\Android\android-sdk\platform-tools\aapt pack
age --auto-add-overlay -f -M C:\Users\Dave\my-android-2\src\main\AndroidManifest
.xml -S C:\Users\Dave\my-android-2\src\main\res -A C:\Users\Dave\my-android-2\sr
c\main\assets -I C:\Program Files\Android\android-sdk\platforms\android-14\andro
id.jar -F C:\Users\Dave\my-android-2\target\resources.apk
java.lang.RuntimeException:
Using keystore: C:\Program Files\Android\android-sdk\.android\debug.keystore
keytool error: java.io.FileNotFoundException: C:\Program Files\Android\android-s
dk\.android\debug.keystore (Toegang geweigerd)
Error packaging C:\Users\Dave\my-android-2\target\my-android-2-0.1.apk: Unable t
o get debug signature key
at scala.sys.package$.error(package.scala:27)
at AndroidInstall$$anonfun$packageTask$1$$anonfun$apply$10.apply(Android
Install.scala:108)
at AndroidInstall$$anonfun$packageTask$1$$anonfun$apply$10.apply(Android
Install.scala:108)
at scala.Either.fold(Either.scala:43)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:108)
at AndroidInstall$$anonfun$packageTask$1.apply(AndroidInstall.scala:106)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:473)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structu
re.scala:295)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:22
1)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26
)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
[error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug:
[error] Using keystore: C:\Program Files\Android\android-sdk\.android\debug.keys
tore
[error] keytool error: java.io.FileNotFoundException: C:\Program Files\Android\a
ndroid-sdk\.android\debug.keystore (Toegang geweigerd)
[error]
[error] Error packaging C:\Users\Dave\my-android-2\target\my-android-2-0.1.apk:
Unable to get debug signature key
[error] Total time: 64 s, completed 21-dec-2011 19:11:16
I see it is another directory too.
The application that does this creation has no write errors to create one because of Windows 7 security. After copying the debug.keystore to this directory it is also expired
> android:package-debug
[info] Wrote C:\Users\Dave\my-android-2\target\scala-2.9.1\src_managed\main\scal
a\myandroid\TR.scala
ProGuard, version 4.6
ProGuard is released under the GNU General Public License. You therefore
must ensure that programs that link to it (scala, ...)
carry the GNU General Public License as well. Alternatively, you can
apply for an exception with the author of ProGuard.
The output seems up to date
[error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug:
[error] Using keystore: C:\Program Files\Android\android-sdk\.android\debug.keys
tore
[error] keytool error: java.io.FileNotFoundException: C:\Program Files\Android\a
ndroid-sdk\.android\debug.keystore (Toegang geweigerd)
[error]
[error] Error packaging C:\Users\Dave\my-android-2\target\my-android-2-0.1.apk:
Unable to get debug signature key
[error] Total time: 1 s, completed 21-dec-2011 19:21:36
> android:package-debug
[info] Wrote C:\Users\Dave\my-android-2\target\scala-2.9.1\src_managed\main\scal
a\myandroid\TR.scala
ProGuard, version 4.6
ProGuard is released under the GNU General Public License. You therefore
must ensure that programs that link to it (scala, ...)
carry the GNU General Public License as well. Alternatively, you can
apply for an exception with the author of ProGuard.
The output seems up to date
[error] {file:/C:/Users/Dave/my-android-2/}My Android 2/android:package-debug:
[error] Using keystore: C:\Program Files\Android\android-sdk\.android\debug.keys
tore
[error]
[error] Error packaging C:\Users\Dave\my-android-2\target\my-android-2-0.1.apk:
Debug Certificate expired on 8-6-11 19:36
[error] Total time: 0 s, completed 21-dec-2011 19:31:40
My environment variable ANDROID_SDK_HOME is set to C:\Program Files\Android\android-sdk So the default keystore directory is below that one in the new android sdk.
When I start the emulator it whants to install "my-android-2-0.1.apk" but the only apk file I find there is resources.apk. How can I change resources.apk into my-android-2-0.1.apk in the build.scala?