Error in running rhodes3.0.0 on android

Pat's Avatar

Pat

17 May, 2011 01:11 PM

I was installing gem rhodes3.0.0 on my windows XP computer
When I running rake run:android i got this error :

PWD: C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0
CMD: "C:/Program Files/Android/android-sdk/platform-tools/adb.exe" start-server
* daemon not running. starting it now on port 5037 * * daemon started successfully * Sleep for 5 sec. waiting for "adb start-server"
PWD: C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0
CMD: "C:/Program Files/Android/android-sdk/platform-tools/adb.exe" logcat >> D:/
workspace/JME/MyFirstApp/rholog.txt
- waiting for device - Error: Oops, it looks like you didn't provide an argument for '--name'.
'--target' was found instead.

Usage:
android [global options] create avd [action options]

Global options:
-v --verbose Verbose mode: errors, warnings and informational messages are pr inted.
-h --help Help on a specific command. -s --silent Silent mode: only errors are printed out.

Action "create avd":
Creates a new Android Virtual Device. Options:
-c --sdcard Path to a shared SD card image, or size of a new sdcard for the new AVD
-t --target Target ID of the new AVD [required] -n --name Name of the new AVD [required] -a --snapshot Place a snapshots file in the AVD, to enable persistence. -p --path Directory where the new AVD will be created -f --force Forces creation (overwrites an existing AVD) -s --skin Skin for the new AVD rake aborted!
No such file or directory - C:/Program Files/Android/android-sdk/platform-tools/
adb.exe devices
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0/platform/android/build/android.
rake:1507:in `' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0/platform/android/build/android. rake:1507:inis_emulator_running'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0/platform/android/build/android.
rake:1734:in run_emulator' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rhodes-3.0.0/platform/android/build/android. rake:1650:inblock (3 levels) in '
C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:in call' C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:inblock in execute'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:629:in each' C:/Ruby192/lib/ruby/1.9.1/rake.rb:629:inexecute'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:595:in block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/rake.rb:605:inblock in invoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:in each' C:/Ruby192/lib/ruby/1.9.1/rake.rb:602:ininvoke_prerequisites'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:594:in block in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:588:in invoke_with_call_chain' C:/Ruby192/lib/ruby/1.9.1/rake.rb:581:ininvoke'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2041:in invoke_task' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:inblock (2 levels) in top_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:in each' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2019:inblock in top_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in standard_exception_handling' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2013:intop_level'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in run' C:/Ruby192/bin/rake:31:in'

thanks for your help

  1. Support Staff 2 Posted by Luis Lavena on 17 May, 2011 01:24 PM

    Luis Lavena's Avatar

    Hello Pat,

    help.rubygems.org is mostly oriented to deal with problems of rubygems.org gems services, but not with specific problems of a gem.

    You can direct your questions to rhodes group:

    http://groups.google.com/group/rhomobile?pli=1

    However, I can give you two hints of what I notice, excuse my lack of understanding on how rhodes works:

    First is this error:

    No such file or directory - C:/Program Files/Android/android-sdk/platform-tools/ adb.exe devices

    Seems is not able to invoke adb.exe, probably because Android SDK is placed in a directory with paths, or maybe because the executable is not there.

    Locate that executable and see if is there.

    The second error seems be associated to the first, not been able to execute adb.exe

    Please search and ask at Rhodes group for better responses.

    Hope this helps.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac