Skip to content

Instantly share code, notes, and snippets.

@donokuda
Created February 4, 2013 05:13
Show Gist options
  • Save donokuda/ed992bc229810bdf8b13 to your computer and use it in GitHub Desktop.
Save donokuda/ed992bc229810bdf8b13 to your computer and use it in GitHub Desktop.
-set-mode-check:
-set-debug-files:
-check-env:
Android SDK Tools Revision 21.0.1
Installed at /usr/local
-setup:
Project Name: helloworld
Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-build-setup:
Resolving Build Target for helloworld...
Project Target: Android 2.1
API level: 7
WARNING: No minSdkVersion value set. Application will install on all Android versions.
----------
Creating output directories if needed...
Created dir: /Users/donokuda/helloworld/bin/res
Created dir: /Users/donokuda/helloworld/gen
Created dir: /Users/donokuda/helloworld/bin/classes
Created dir: /Users/donokuda/helloworld/bin/dexedLibs
----------
Resolving Dependencies for helloworld...
Library dependencies:
No Libraries
------------------
API<=15: Adding annotations.jar to the classpath.
----------
Building Libraries with 'debug'...
No sub-builds to iterate on
-pre-build:
-code-gen:
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
Handling aidl files...
No AIDL files to compile.
----------
Handling RenderScript files...
No RenderScript files to compile.
----------
Handling Resources...
Generating resource IDs...
----------
Handling BuildConfig class...
Generating BuildConfig class.
-pre-compile:
javac:
Compiling 2 source files to /Users/donokuda/helloworld/bin/classes
-compile:
compiling Mirah source in /Users/donokuda/helloworld/src/. to /Users/donokuda/helloworld/bin/classes
Exception in thread "Thread-8" java.lang.ExceptionInInitializerError
at org.mirah.ant.Compile$__xform_tmp_13.run(compile.mirah:66)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `start_with?' for #<Java::OrgJrubyAstJava_signature::ArrayTypeNode:0x5d5e3b92>
at RUBY.as_java_type(/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/jruby/compiler/java_signature.rb:20)
at RUBY.parameters(/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/jruby/compiler/java_signature.rb:48)
at RUBY.each(file:/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/jruby.jar!/jruby/java/java_ext/java.util.rb:7)
at org.jruby.RubyEnumerable.map(org/jruby/RubyEnumerable.java:718)
at RUBY.parameters(/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/jruby/compiler/java_signature.rb:48)
at RUBY.types(/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/jruby/compiler/java_signature.rb:54)
at RUBY.java_signature(/Users/donokuda/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/jruby/core_ext/class.rb:44)
at RUBY.MirahCommand(src/org/mirah/mirah_command.rb:25)
at RUBY.(root)(src/org/mirah/mirah_command.rb:22)
at org.mirah.ant.Compile$__xform_tmp_13.run(compile.mirah:66)
-post-compile:
-obfuscate:
-dex:
input: /Users/donokuda/helloworld/bin/classes
input: /usr/local/tools/support/annotations.jar
Pre-Dexing /usr/local/tools/support/annotations.jar -> annotations-45b044aaafcf6b2fb8e9d44c8a784ee2.jar
Converting compiled files and external libraries into /Users/donokuda/helloworld/bin/classes.dex...
Merged dex A (6 defs/1.5KiB) with dex B (2 defs/1.1KiB). Result is 8 defs/2.5KiB. Took 0.0s
-crunch:
Crunching PNG Files in source dir: /Users/donokuda/helloworld/res
To destination dir: /Users/donokuda/helloworld/bin/res
Processing image to cache: /Users/donokuda/helloworld/res/drawable-hdpi/ic_launcher.png => /Users/donokuda/helloworld/bin/res/drawable-hdpi/ic_launcher.png
(processed image to cache entry /Users/donokuda/helloworld/bin/res/drawable-hdpi/ic_launcher.png: 0% size of source)
Processing image to cache: /Users/donokuda/helloworld/res/drawable-ldpi/ic_launcher.png => /Users/donokuda/helloworld/bin/res/drawable-ldpi/ic_launcher.png
(processed image to cache entry /Users/donokuda/helloworld/bin/res/drawable-ldpi/ic_launcher.png: 0% size of source)
Processing image to cache: /Users/donokuda/helloworld/res/drawable-mdpi/ic_launcher.png => /Users/donokuda/helloworld/bin/res/drawable-mdpi/ic_launcher.png
(processed image to cache entry /Users/donokuda/helloworld/bin/res/drawable-mdpi/ic_launcher.png: 0% size of source)
Crunched 3 PNG files to update cache
-package-resources:
Creating full resource package...
Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
-package:
Current build type is different than previous build: forced apkbuilder run.
Creating helloworld-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
Running zip align on final apk...
Debug Package: /Users/donokuda/helloworld/bin/helloworld-debug.apk
Creating new property file: /Users/donokuda/helloworld/bin/build.prop
Updating property file: /Users/donokuda/helloworld/bin/build.prop
Updating property file: /Users/donokuda/helloworld/bin/build.prop
Updating property file: /Users/donokuda/helloworld/bin/build.prop
-post-build:
debug:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment