Skip to content

Instantly share code, notes, and snippets.

@Kosmas
Created November 7, 2012 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kosmas/4031373 to your computer and use it in GitHub Desktop.
Save Kosmas/4031373 to your computer and use it in GitHub Desktop.
Ruboto jruby build fail
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.7.0/lib/jruby-core-1.7.0.jar to libs...Done.
Copying /home/vagrant/.rvm/gems/jruby-1.6.7.2/gems/jruby-jars-1.7.0/lib/jruby-stdlib-1.7.0.jar to libs...Done.
Copying dexmaker.jar to libs...Done.
Removing unneeded classes from jruby-core-1.7.0.jar...Done.
Reformatting jruby-stdlib-1.7.0.jar..../lib/ruby : no such file or directory
Done.
JRuby version is now: 1.7.0
vagrant@precise64:~/Prog/android_data/projects/test$ rake
/home/vagrant/Prog/android_data/projects/test/libs/jruby-stdlib-1.7.0.jar changed.
/home/vagrant/Prog/android_data/projects/test/libs/jruby-core-1.7.0.jar changed.
Forcing rebuild of /home/vagrant/Prog/android_data/projects/sharoo1/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...
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: 6 minutes 57 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
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment