Tuesday, August 16, 2011

Rhodes + Setup Android in windows + problems

Error 1 :

invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information

Fix: 
This problem is when you install Rhodes in the path "c:/Program Files/Android/android-sdk"  as there is a space in the word "Program Files". Try reinstalling to path "c:/Android/android-sdk"

Error 2 : 
sh.exe": /c/InstantRhodes/ruby/bin/rake: C:/RhoSync/ruby/bin/ruby.exe^M: bad interpreter: No such file or directory

Fix : reinstall the rake gem.

1. gem uninstall rake
2. gem install rake

This will update the rake Gem


Error 3 : Cannot find your Rhodes gem or source path.

 Fix :  run this in terminal. this will set up the rhodes path

$ set-rhodes-sdk
c:/InstantRhodes/ruby/lib/ruby/gems/1.8/gems/rhodes-3.0.2/bin






3 comments:

ORISSATUBE said...

I recently came across your blog and have been reading along. I thought I would leave my first comment.
I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
Thank You
Ruby on Rails

Srikanth Jeeva said...

Thanks!

Betsy said...

Thank you! I was tearing my hair out with Error #2. A simple re-install was all that I needed. :-D