Build error while i am trying to run application on windows device

When i am trying to run the application on windows device i am getting error while built the application.The screen shot is attached.

Can you explain me what kind error is this and give me solution.

Kindly help me in this issue

Rho.jpg

Bhakta Ranjan S...
Hi Sawant,Where is your

Hi Sawant,

Where is your application folder located ? Could you plz share it here.

If your application folder contains any spaces then try to move your app into a folder without spaces.

e.g If you project is in C:\some directory\Rho_application then put your applicaton in  C:\some_directory\Rho_application

Thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Abhijeet Sawant
I moved my application to

I moved my application to directory D:\Abhijeet\RhoApp\Rho but still i am getting same error.

any other solution?

Thanks.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
The invalid argument is

The invalid argument is related to Java, so has java bin added to RhoStudio?. Below is an excerpt from docs.rhomobile.com

On Windows 64-bit installations, you must set this path to the 32-bit version of the JDK, such as C:/Program Files (x86)/Java/jdk<version number>/bin.

Also, you may want to check to see if JAVA_HOME variable and Windows Path is setup.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Abhijeet Sawant
I had check the java bin path

I had check the java bin path in window -> prefrence -> Rhomobile

the bin paht is C:/Program Files/Java/jdk1.6.0_33/bin

and how to check JAVA_HOME variable and windows path?

can you help me?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
Once that is set up you can

Once that is set up you can check by opening a command box and entering Java at any prompt. If it returns a list of perameters, then you're good. If not check your path.


C:\windows\system32>java
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -server       to select the "server" VM
    -hotspot      is a synonym for the "server" VM  [deprecat
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar
                  A ; separated list of directories, JAR arch
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the ve
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -
                    see also, -agentlib:jdwp=help and -agentl
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see j

    -splash:<imagepath>
                  show splash screen with specified image

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Abhijeet Sawant
I had check java command on

I had check java command on command prompt  java command returns same list of parameters.

what should I do still facing same problem.

Is their any other solution?

Thank you.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
I can only offer at this time

I can only offer at this time to uninstall and re-install RhoStudio.Don't forget to enter the Java bin path in RhoMobile preferences.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Abhijeet Sawant
i uninstall the rho studio

i uninstall the rho studio and reinstall and set java bin path in the windows -> preferences and also add the java bin path in the computer-> properties-> Advanced System Setting ->Enviroenment variable

(The error lines are bold and underline please check with it.) 

  1. if i am remove java  path form computer-> properties-> Advanced System Setting ->Enviroenment variable

then following error occour while building application

build started
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
rm -rf C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
mkdir -p C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
mkdir -p C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
mkdir -p C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
cd lib/framework
cp -rp base64.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp bsearch.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp builtinME.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp date C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp date.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp dateME.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp dateOrig.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp erb.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp find.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp indifferent_access.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp ostruct.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rational.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rational18.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rationalME.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rbconfig.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp res C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rho C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rho.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhoappmanifest.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhodes-framework.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhodes.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhoframework.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhofsconnector.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rholang C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhom C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhom.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhomotoapi.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp rhosystem.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp singleton.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp stringio.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp time.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -rp version.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
rm rhodes-framework.rb
rm erb.rb
rm find.rb
rm builtinME.rb
rm dateME.rb
rm rationalME.rb
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/extensions/json
cp -r json C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cp -r json.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext
cp -r rhoelementsext.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/motoapi
cp -r motoapi C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements
cp -r rhoelements.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cp -rp C:/Users/abhijit.sawant/workspace/TestApp/app C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
cp -rp C:/Users/abhijit.sawant/workspace/TestApp/public C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
cp -p C:/Users/abhijit.sawant/workspace/TestApp/rhoconfig.txt C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
rm app/First/edit.bb.erb
rm app/First/index.bb.erb
rm app/First/new.bb.erb
rm app/First/show.bb.erb
rm app/index.bb.erb
rm app/Settings/home.bb.erb
rm app/Settings/index.bb.erb
rm app/Settings/login.bb.erb
rm app/Settings/reset.bb.erb
rm app/Settings/wait.bb.erb
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib/res
mv back_btn.wm.png back_btn.png
mv blue_pushpin.wm.png blue_pushpin.png
mv blue_pushpin_small.wm.png blue_pushpin_small.png
mv callout.wm.png callout.png
mv callout_link.wm.png callout_link.png
mv esri.wm.png esri.png
mv forward_btn.wm.png forward_btn.png
mv home_btn.wm.png home_btn.png
mv options_btn.wm.png options_btn.png
mv refresh_btn.wm.png refresh_btn.png
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/apps
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cp lib/build/compileERB/default.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
rm C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/default.rb
cp lib/build/compileRB/compileRB.rb C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
cd C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
rm apps/app/application.rb
rm apps/app/First/first.rb
rm apps/app/First/first_controller.rb
rm apps/app/helpers/application_helper.rb
rm apps/app/helpers/browser_helper.rb
rm apps/app/Settings/controller.rb
rm apps/app/test/first_spec.rb
rm compileRB.rb
rm lib/base64.rb
rm lib/bsearch.rb
rm lib/date/format.rb
rm lib/date.rb
rm lib/dateOrig.rb
rm lib/indifferent_access.rb
rm lib/json/common.rb
rm lib/json/pure/generator.rb
rm lib/json/pure.rb
rm lib/json/version.rb
rm lib/json.rb
rm lib/motoapi/elements.rb
rm lib/ostruct.rb
rm lib/rational.rb
rm lib/rational18.rb
rm lib/rbconfig.rb
rm lib/rho/mapview.rb
rm lib/rho/render.rb
rm lib/rho/rho.rb
rm lib/rho/rhoapplication.rb
rm lib/rho/rhobluetooth.rb
rm lib/rho/rhocontact.rb
rm lib/rho/rhocontroller.rb
rm lib/rho/rhoerror.rb
rm lib/rho/rhoevent.rb
rm lib/rho/rhoevent_bb.rb
rm lib/rho/rhoevent_c.rb
rm lib/rho/rhofsconnector.rb
rm lib/rho/rhomsg.rb
rm lib/rho/rhonativeviewmanager.rb
rm lib/rho/rhosupport.rb
rm lib/rho/rhotabbar.rb
rm lib/rho/rhotoolbar.rb
rm lib/rho/rhoutils.rb
rm lib/rho/rhoviewhelpers.rb
rm lib/rho.rb
rm lib/rhoappmanifest.rb
rm lib/rhodes.rb
rm lib/rhoelements.rb
rm lib/rhoelementsext.rb
rm lib/rhoframework.rb
rm lib/rhofsconnector.rb
rm lib/rholang/lang_en.rb
rm lib/rholang/lang_es.rb
rm lib/rholang/localization_simplified.rb
rm lib/rholang/rhoerror_de.rb
rm lib/rholang/rhoerror_en.rb
rm lib/rholang/rhoerror_es.rb
rm lib/rholang/rhomsg_de.rb
rm lib/rholang/rhomsg_en.rb
rm lib/rholang/rhomsg_es.rb
rm lib/rholang/rhomsg_it.rb
rm lib/rhom/rhom.rb
rm lib/rhom/rhom_db_adapter.rb
rm lib/rhom/rhom_model.rb
rm lib/rhom/rhom_object.rb
rm lib/rhom/rhom_object_factory.rb
rm lib/rhom/rhom_source.rb
rm lib/rhom.rb
rm lib/rhomotoapi.rb
rm lib/rhosystem.rb
rm lib/singleton.rb
rm lib/stringio.rb
rm lib/time.rb
rm lib/version.rb
rm apps/app/First/edit.erb
rm apps/app/First/index.erb
rm apps/app/First/new.erb
rm apps/app/First/show.erb
rm apps/app/index.erb
rm apps/app/layout.erb
rm apps/app/Settings/err_sync.erb
rm apps/app/Settings/home.erb
rm apps/app/Settings/index.erb
rm apps/app/Settings/login.erb
rm apps/app/Settings/reset.erb
rm apps/app/Settings/wait.erb
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cp -r platform/shared/db/res/db C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext/ext
** Invoke default (first_time)
** Invoke build:all (first_time)
** Invoke build:config (first_time)
** Execute build:config
** Execute build:all
mkdir -p C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm/bin/Windows Mobile 6 Professional SDK (ARMV4I)/extensions/rhoelementsext
mkdir -p C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm/bin/Windows Mobile 6 Professional SDK (ARMV4I)/rhodes/Release
cp -r ./lib/rhoelementsext.lib C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm/bin/Windows Mobile 6 Professional SDK (ARMV4I)/rhodes/Release
** Execute default
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements/ext
** Invoke default (first_time)
** Invoke build:all (first_time)
** Invoke build:config (first_time)
** Execute build:config
** Execute build:all
mkdir -p C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm/bin/Windows Mobile 6 Professional SDK (ARMV4I)/extensions/rhoelements
cp -r ./lib/rhowebkit.lib C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm/bin/Windows Mobile 6 Professional SDK (ARMV4I)/rhodes/Release
** Execute default
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
cd platform/wm
cp C:/Users/abhijit.sawant/workspace/TestApp/icon/icon.ico rhodes/resources


Your java bin folder does not appear to be on your path.
This is required to use rhodes.

$app_config['extensions'] : ["json", "another-extension", "rhoelementsext", "motoapi", "rhoelements"]
$app_config['capabilities'] : ["motorola", "motorola_browser", "webkit_browser"]
!!!MODIFY C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/shared/common/app_build_configs.c
!!!MODIFY C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/shared/common/app_build_capabilities.h
$current_platform : wm
common_bundle_start
init extensions
ext - json
1
add_extension - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/extensions/json - C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
extyml C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/lib/extensions/json/ext.yml
ext - another-extension
1
exception
ext - rhoelementsext
1
add_extension - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext - C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
extyml C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext/ext.yml
ext - motoapi
1
add_extension - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/motoapi - C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
extyml C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/motoapi/ext.yml
ext - rhoelements
1
add_extension - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements - C:/Users/abhijit.sawant/workspace/TestApp/bin/RhoBundle/lib
extyml C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements/ext.yml
exts C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/shared/ruby/ext/rho/extensions.c
!!!MODIFY C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/shared/ruby/ext/rho/extensions.c
Running default.rb

Running compileRB

new $additional_dlls_paths
ext_config_path - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext/ext.yml
extpath - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelementsext
ext_config[files] - ext/rhoelementsbin
start read reg key
end read reg key

C:\MotorolaRhoMobileSuite2.0.5\ruby\lib\ruby\gems\1.9.1\gems\rhoelements-2.0.5.27.0\libs\rhoelementsext\ext>if "wm" == "wm" (
cd ./wm 
rake --trace
)
ext_config_path - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements/ext.yml
extpath - C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhoelements-2.0.5.27.0/libs/rhoelements
start read reg key
end read reg key

C:\MotorolaRhoMobileSuite2.0.5\ruby\lib\ruby\gems\1.9.1\gems\rhoelements-2.0.5.27.0\libs\rhoelements\ext>if "wm" == "wm" (
cd ./wm 
rake --trace
)

The following step may take several minutes or more to complete depending on your processor speed

PWD: C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3/platform/wm
CMD: vcbuild /M4 rhodes.sln "Release|Windows Mobile 6 Professional SDK (ARMV4I)"
rake aborted!
No such file or directory - vcbuild

Tasks: TOP => run:wm:device => device:wm:production => build:wm:rhodes
(See full trace by running task with --trace)
Error in build application

2. If i Add path in computer-> properties-> Advanced System Setting ->Enviroenment variable Edit and then add the java bin path seprated by comma then the following error occour

build started
cd C:/MotorolaRhoMobileSuite2.0.5/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.3.3
rake aborted!
Invalid argument - javac -version 2>&1

(See full trace by running task with --trace)
Error in build application

what i need to do?

please help me.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Peter Arcuri
Although this issue is likely

Although this issue is likely configuration related i would suggest using the latest RMS version 2.1.1. This version provides the following  rhodes version => C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.4.2

From looking at the log, you may want to check your VS 2008 path. You are using VS2008, right? Depending where your VS2008 is installed below is an example of path for "VS build tool path:" wihin RhoMoilbe Window>Preferences>RhoMobile>Windows Mobile> C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe

Also, if you are using Motorola APIs then you'll need to select app_type: rholements in your build yml. and in most cases for WM devices use of motorla broswer (webkit) is required. See below parameters for build.yml

app_type: "rhoelements"

capabilities:

  - motorola_browser

wm:

  sdk: "Windows Mobile 6.5.3 Professional DTK (ARMV4I)"

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Abhijeet Sawant
Thanks a lot,With your given

Thanks a lot,

With your given solution is working properly and problem is solved.

Thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments