Posted on

Rhomobile: Error In Build Application

You are build Rhomobile apps on Windows, aren’t you?  If so, we’ve been there.   Luckily the fix is somewhat simple, though time consuming.   Sadly, it is a joke that Rhomobile can’t deal with SPACES IN DIRECTORY names.  What year is it?    Rhomobile is not aware of Windows 7 directory naming standards?  How sad.

Anyway, here is the fix.  And you might was well do it for ALL of the directories we note here are you will just postpone more problems that will inevitably arrive.

Install ALL the Rhomobile tool kits in directories without spaces.   For example:

Rhostudio goes in C:\RHOSTUDIO\<blah>

Java Development Kit (JDK) likes to live in C:\Java\jdk-6<blah>

Android Native Development Kit (Android NDK) goes in C:\Android\android-ndk-<blah>

and lastly…

Android Software Development Kit (Android SKD) goes in C:\Android\android-sdk-<blah>

When you are done installing (likely re-installing if you are here) the software you need to go and update your Eclipse project to set the new directory paths.  Start with Windows/Preferences and look for the Rhomobile entry, change the Java path there.  Now expand that entry and select Android and update the paths again.

Also, don’t try moving the JDK or Rhostudio folders.   Uninstall and re-install and you will have better results.

 

 

 

Posted on

Rhomobile: Error interpreting erb code

You are build Rhomobile apps on Windows, aren’t you?  If so, we’ve been there.   Luckily the fix is somewhat simple, though time consuming.   Sadly, it is a joke that Rhomobile can’t deal with SPACES IN DIRECTORY names.  What year is it?    Rhomobile is not aware of Windows 7 directory naming standards?  How sad.

Anyway, here is the fix.  And you might was well do it for ALL of the directories we note here are you will just postpone more problems that will inevitably arrive.

Install ALL the Rhomobile tool kits in directories without spaces.   For example:

Rhostudio goes in C:\RHOSTUDIO\<blah>

Java Development Kit (JDK) likes to live in C:\Java\jdk-6<blah>

Android Native Development Kit (Android NDK) goes in C:\Android\android-ndk-<blah>

and lastly…

Android Software Development Kit (Android SKD) goes in C:\Android\android-sdk-<blah>

When you are done installing (likely re-installing if you are here) the software you need to go and update your Eclipse project to set the new directory paths.  Start with Windows/Preferences and look for the Rhomobile entry, change the Java path there.  Now expand that entry and select Android and update the paths again.

Also, don’t try moving the JDK or Rhostudio folders.   Uninstall and re-install and you will have better results.