Skip to content

Instantly share code, notes, and snippets.

@Kosmas
Created November 7, 2012 12:53
Show Gist options
  • Save Kosmas/4031440 to your computer and use it in GitHub Desktop.
Save Kosmas/4031440 to your computer and use it in GitHub Desktop.
ruboto build with 1.6.7.2
vagrant@precise64:~/Prog/android_data/projects/test1$ gem install jruby-jars --version 1.6.7.2
Fetching: jruby-jars-1.6.7.2.gem (100%)
Successfully installed jruby-jars-1.6.7.2
1 gem installed
vagrant@precise64:~/Prog/android_data/projects/test$ rm libs/jruby-*.jar
vagrant@precise64:~/Prog/android_data/projects/test$ ls libs
dexmaker20120305.jar tmp
vagrant@precise64:~/Prog/android_data/projects/test$ ruboto update jruby --force
Copying /home/vagrant/.rvm/gems/jruby-1.6.7.2/gems/jruby-jars-1.6.7.2/lib/jruby-core-1.6.7.2.jar to libs...Done.
Copying /home/vagrant/.rvm/gems/jruby-1.6.7.2/gems/jruby-jars-1.6.7.2/lib/jruby-stdlib-1.6.7.2.jar to libs...Done.
Copying dexmaker.jar to libs...Done.
Removing unneeded classes from jruby-core-1.6.7.2.jar...Retaining com.kenai.constantine and removing jnr for JRuby < 1.7.0...Done.
Reformatting jruby-stdlib-1.6.7.2.jar..../lib/ruby : no such file or directory
Done.
JRuby version is now: 1.6.7.2
vagrant@precise64:~/Prog/android_data/projects/test$ rake
/home/vagrant/Prog/android_data/projects/test/libs/jruby-core-1.6.7.2.jar changed.
/home/vagrant/Prog/android_data/projects/test/libs/jruby-stdlib-1.6.7.2.jar changed.
Forcing rebuild of /home/vagrant/Prog/android_data/projects/test/bin/Test-debug.apk.
ant debug
Buildfile: /home/vagrant/Prog/android_data/projects/test/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at /home/vagrant/Downloads/android-sdk-linux
-setup:
[echo] Project Name: Test
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-build-setup:
[echo] Resolving Build Target for Test...
[gettarget] Project Target: Android 2.2
[gettarget] API level: 8
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for Test...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] No changed resources. R.java and Manifest.java untouched.
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
-post-compile:
-obfuscate:
-dex:
[dex] Found new input file
[dex] Converting compiled files and external libraries into /home/vagrant/Prog/android_data/projects/test/bin/classes.dex...
[dx] warning: Ignoring InnerClasses attribute for an anonymous inner class
[dx] (org.joda.time.DateTimeZone$1) that doesn't come with an
[dx] associated EnclosingMethod attribute. This class was probably produced by a
[dx] compiler that did not target the modern .class file format. The recommended
[dx] solution is to recompile the class from source, using an up-to-date compiler
[dx] and without specifying any "-target" type options. The consequence of ignoring
[dx] this warning is that reflective operations on this class will incorrectly
[dx] indicate that it is *not* an inner class.
BUILD FAILED
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:850: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:852: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:864: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:266: null returned: 137
Total time: 4 minutes 5 seconds
rake aborted!
Command failed with status (1): [ant debug...]
Tasks: TOP => default => debug => /home/vagrant/Prog/android_data/projects/Test/bin/Test-debug.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment