9 Replies Latest reply on Dec 1, 2015 7:09 PM by MengChang Xiao

    Where is the created app?

    MengChang Xiao

      This is the stranger question,is not it?

      Now my rho runs into chaos,many problems happened,

      I think the generated app should be under bin directory, but can't find it.

      When I use the device debug mode, I can find it,anyway, it need to install app to mobile,but now rho can't enter this mode,and I don't know why.

       

      Does rho don't generate the app in debug mode?

        • Re: Where is the created app?
          Joydeep Chakraborty

          What is the command are you running?

          Which platform?

           

          Please create a production build of the application.You will be able to find the application binaries inside bin/target folder in your development PC.

           

          Regards,

          Joydeep

            • Re: Where is the created app?
              MengChang Xiao

              build console output:

               

              -$TIME$- message [ First timestamp ] time is { 2015-12-01T01:33:45Z } milliseconds from start (0)

              TokenValid[YES]

              TokenChecked[YES]

              SubscriptionValid[YES]

              SubscriptionChecked[YES]

              RET: 0

               

               

              PWD: E:\xmc\rhoworkspace\HEVdemo

              CMD: rake run:android:rhosimulator:build --trace rho_debug_port=9000 rho_reload_app_changes=0

              cd D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2

              ** Invoke run:android:rhosimulator:build (first_time)

              ** Invoke config:set_android_platform (first_time)

              ** Execute config:set_android_platform

              ** Invoke config:common (first_time)

              ** Invoke token:setup (first_time)

              ** Invoke token:read (first_time)

              ** Invoke token:initialize (first_time)

              ** Invoke config:load (first_time)

              ** Execute config:load

              ** Execute token:initialize

              ** Execute token:read

              ** Execute token:setup

              ** Invoke config:initialize (first_time)

              ** Invoke config:load

              ** Execute config:initialize

              ** Execute config:common

              ** Invoke config:android:app_config (first_time)

              ** Execute config:android:app_config

              ** Execute run:android:rhosimulator:build

              ** Invoke run:rhosimulator:build (first_time)

              ** Invoke config:common

              ** Execute run:rhosimulator:build

              rm -rf E:/xmc/rhoworkspace/HEVdemo/public/api

              mkdir -p E:/xmc/rhoworkspace/HEVdemo/public/api

              -$TIME$- message [ First timestamp ] time is { 2015-12-01T01:33:49Z } milliseconds from start (0)

              Starting rhodes build system using ruby version: 1.9.3

              -$TIME$- message [ config:common ] time is { 2015-12-01T01:33:51Z } milliseconds from start (1792)

              %%%_%%% $js_application = false

              %%%_%%% $shared_rt_js_application = false

              %%% Prepare capability header file %%%

              //#define RHO_NO_RUBY

              $app_config['extensions'] : ["coreapi", "json", "Greeting"]

              $app_config['capabilities'] : ["calendar", "network_state", "sdcard", "hardware_acceleration"]

              rho_reload_app_changes : 0

              rhoapi_js_folder: E:/xmc/rhoworkspace/HEVdemo/public/api

              latest_update_time=2015-08-03 02:28:18 +0800

              cached_time : 2015-12-01 09:25:07 +0800

              extyml D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/ext.yml

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORM.js to startJSModules_opt..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js to startJSModules_opt..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js to startJSModules_opt..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js to startJSModules_opt..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Application.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Config.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Database.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Database.SQLite3.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Intent.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Log.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeMenubar.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeTabbar.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeToolbar.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Navbar.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Network.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NewORM.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NewORMModel.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Notification.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Push.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.RhoFile.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.System.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.System.Process.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Timer.js to extjsmodulefiles..

              add D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.WebView.js to extjsmodulefiles..

              extyml D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/extensions/json/ext.yml

              extyml E:/xmc/rhoworkspace/HEVdemo/extensions/Greeting/ext.yml

              add E:/xmc/rhoworkspace/HEVdemo/extensions/Greeting/public/api/generated/Rho.Greeting.js to extjsmodulefiles..

              extjsmodulefiles: ["D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/jquery-2.0.2-rho-custom.min.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/rhoapi.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Application.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Config.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Database.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Database.SQLite3.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Intent.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Log.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeMenubar.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeTabbar.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NativeToolbar.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Navbar.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Network.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NewORM.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.NewORMModel.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Notification.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Push.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.RhoFile.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.System.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.System.Process.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.Timer.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/generated/Rho.WebView.js", "E:/xmc/rhoworkspace/HEVdemo/extensions/Greeting/public/api/generated/Rho.Greeting.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Application.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Database.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.NewORMHelper.js"]

              !!!MODIFY E:/xmc/rhoworkspace/HEVdemo/public/api/rhoapi-modules.js

              cp D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORM.js E:/xmc/rhoworkspace/HEVdemo/public/api/rhoapi-modules-ORM.js

              cp D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js E:/xmc/rhoworkspace/HEVdemo/public/api/rhoapi-modules-ORMHelper.js

              cp D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js E:/xmc/rhoworkspace/HEVdemo/public/api/rhoapi-modules-Rhosim-Fix.js

              cp D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js E:/xmc/rhoworkspace/HEVdemo/public/api/rhoapi-modules-Ruby-RunTime.js

              extjsmodulefiles_opt: ["D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORM.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js", "D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js"]

              RET: 0

               

               

              PWD: E:\xmc\rhoworkspace\HEVdemo

              CMD: rake run:android:rhosimulator:debug --trace rho_debug_port=9000 rho_reload_app_changes=0

              cd D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2

              ** Invoke run:android:rhosimulator:debug (first_time)

              ** Invoke config:set_android_platform (first_time)

               

               

              ** Execute config:set_android_platform

              ** Invoke config:common (first_time)

              ** Invoke token:setup (first_time)

              ** Invoke token:read (first_time)

              ** Invoke token:initialize (first_time)

              ** Invoke config:load (first_time)

              ** Execute config:load

              ** Execute token:initialize

              ** Execute token:setup

              ** Invoke config:initialize (first_time)

              ** Invoke config:load

              ** Execute config:initialize

              ** Execute config:common

              ** Invoke config:android:app_config (first_time)

              ** Execute config:android:app_config

              ** Execute run:android:rhosimulator:debug

              -$TIME$- message [ First timestamp ] time is { 2015-12-01T01:33:53Z } milliseconds from start (0)

              Starting rhodes build system using ruby version: 1.9.3

              -$TIME$- message [ config:common ] time is { 2015-12-01T01:33:54Z } milliseconds from start (1791)

              %%%_%%% $js_application = false

              %%%_%%% $shared_rt_js_application = false

              %%% Prepare capability header file %%%

              //#define RHO_NO_RUBY

              $app_config['extensions'] : ["coreapi", "json", "Greeting"]

              $app_config['capabilities'] : ["calendar", "network_state", "sdcard", "hardware_acceleration"]

              start rhosimulator

              PWD: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2

              CMD: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/win32/RhoSimulator/rhosimulator.exe -approot='E:/xmc/rhoworkspace/HEVdemo' -rhodespath='D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2'

              ** Invoke run:rhosimulator:run (first_time)

              ** Invoke config:common

              ** Execute run:rhosimulator:run

              RET: I 12/01/2015 09:33:55:049 00000910            RhodesApp| New start params: -approot=E:/xmc/rhoworkspace/HEVdemo -rhodespath=D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2

              RET: I 12/01/2015 09:33:55:135 00000910                 Main| Rhodes started

               

               

              RET: I 12/01/2015 09:33:55:187 0000153c         AppCallbacks| Starting main routine...

              RET: I 12/01/2015 09:33:55:190 00000910            RhodesApp| Trying to get free listening port.

              RET: I 12/01/2015 09:33:55:244 0000153c         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...

              RET: I 12/01/2015 09:33:55:394 00000910            RhodesApp| Got port to bind on: 56116

              RET: I 12/01/2015 09:33:55:290 00000910            RhodesApp| Trying to bind of 0 port...

               

               

              RET: I 12/01/2015 09:33:55:452 00000910            RhodesApp| Free listening port: 56116

              RET: I 12/01/2015 09:33:55:608 00000910            RhodesApp| callAppActiveCallbackI 12/01/2015 09:33:55:660 00000910         AppCallbacks| addCommand: APP-ACTIVATEDI 12/01/2015 09:33:55:702 0000153c         AppCallbacks| APP-ACTIVATED is received ++++++++++++++++++++++++++++I 12/01/2015 09:33:55:708 00000910         AppCallbacks| addCommand: UI-CREATEDI 12/01/2015 09:33:55:760 0000153c         AppCallbacks| Received command APP-ACTIVATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone itI 12/01/2015 09:33:55:852 00000910           MainWindow| navigate: 'about:blank'I 12/01/2015 09:33:55:852 0000153c         AppCallbacks| UI-CREATED is received ++++++++++++++++++++++++++++I 12/01/2015 09:33:55:960 0000153c         AppCallbacks| m_uistate: 0I 12/01/2015 09:33:56:010 0000153c         AppCallbacks| Received command UI-CREATED which is greater than expected (LOCAL-SERVER-STARTED) - postpone itI 12/01/2015 09:33:56:060 0000153c         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...I 12/01/2015 09:33:55:910 00000910         QtMainWindow| WebView: loading...I 12/01/2015 09:33:56:169 00000910         QtMainWindow| WebView: URL changed to about:blankI 12/01/2015 09:33:56:219 00000910         QtMainWindow| Page load complete.I 12/01/2015 09:33:55:852 000011bc            RhodesApp| Starting RhodesApp main routine...I 12/01/2015 09:33:56:119 0000153c         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...I 12/01/2015 09:33:56:332 000011bc              RhoRuby| Init_RhoBlobs: E:/xmc/rhoworkspace/HEVdemo/rhosimulator/db/db-filesI 12/01/2015 09:33:56:432 000011bc              RhoRuby| require_compiled: RhoSystemApiI 12/01/2015 09:33:56:487 000011bc              RhoRuby| require_compiled: RhoApplicationApiI 12/01/2015 09:33:56:541 000011bc              RhoRuby| require_compiled: RhoNetworkApiI 12/01/2015 09:33:56:621 000011bc              RhoRuby| require_compiled: RhoDatabaseApiI 12/01/2015 09:33:56:678 000011bc              RhoRuby| require_compiled: RhoLogApiI 12/01/2015 09:33:56:728 000011bc              RhoRuby| require_compiled: RhoWebViewApiI 12/01/2015 09:33:56:780 000011bc              RhoRuby| require_compiled: RhoNativeToolbarApiI 12/01/2015 09:33:56:837 000011bc              RhoRuby| require_compiled: RhoNativeTabbarApiI 12/01/2015 09:33:56:889 000011bc              RhoRuby| require_compiled: RhoNotificationApiI 12/01/2015 09:33:56:948 000011bc              RhoRuby| require_compiled: RhoNativeMenubarApiE 12/01/2015 09:33:57:016 000011bc              RhoRuby| require_compiled: error: can not find RhoConnectClientW 12/01/2015 09:33:57:060 000011bc          CExtManager| requireRubyFile cannot find file: RhoConnectClientI 12/01/2015 09:33:57:119 000011bc RhoconnectClientManager| setRhoconnectClientImpl ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^I 12/01/2015 09:33:57:178 000011bc              RhoRuby| require_compiled: digestI 12/01/2015 09:33:57:239 000011bc              RhoRuby| require_compiled: digest.soI 12/01/2015 09:33:57:303 000011bc              RhoRuby| require_compiled: rhoframeworkI 12/01/2015 09:33:57:366 000011bc              RhoRuby| require_compiled: rationalI 12/01/2015 09:33:57:421 000011bc              RhoRuby| require_compiled: jsonI 12/01/2015 09:33:57:480 000011bc              RhoRuby| require_compiled: json/commonI 12/01/2015 09:33:57:537 000011bc              RhoRuby| require_compiled: json/versionI 12/01/2015 09:33:57:597 000011bc              RhoRuby| require_compiled: json/pureI 12/01/2015 09:33:57:656 000011bc              RhoRuby| require_compiled: json/pure/generatorI 12/01/2015 09:33:57:716 000011bc              RhoRuby| require_compiled: rho/rhoapplicationI 12/01/2015 09:33:57:777 000011bc              RhoRuby| require_compiled: rholang/localization_simplifiedI 12/01/2015 09:33:57:826 000011bc              RhoRuby| require_compiled: rho/rhomsgI 12/01/2015 09:33:57:880 000011bc              RhoRuby| require_compiled: rho/rhotabbarI 12/01/2015 09:33:57:931 000011bc              RhoRuby| require_compiled: rho/rhotoolbarI 12/01/2015 09:33:57:997 000011bc                  APP| Current locale: ; Country code:I 12/01/2015 09:33:58:044 000011bc                  APP| Locilized file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/lang_I 12/01/2015 09:33:58:102 000011bc                  APP| Could not find resources for locale: ch;file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/lang_I 12/01/2015 09:33:58:169 000011bc                  APP| Load english resources.I 12/01/2015 09:33:58:219 000011bc              RhoRuby| require_compiled: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/lang_enI 12/01/2015 09:33:58:282 000011bc                  APP| Locilized file: E:/xmc/rhoworkspace/HEVdemo/app/lang/lang_I 12/01/2015 09:33:58:336 000011bc                  APP| Could not find resources for locale: ch;file: E:/xmc/rhoworkspace/HEVdemo/app/lang/lang_I 12/01/2015 09:33:58:394 000011bc                  APP| Locilized file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhoerror_I 12/01/2015 09:33:58:444 000011bc                  APP| Could not find resources for locale: ch;file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhoerror_I 12/01/2015 09:33:58:502 000011bc                  APP| Load english resources.I 12/01/2015 09:33:58:560 000011bc              RhoRuby| require_compiled: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhoerror_enI 12/01/2015 09:33:58:614 000011bc                  APP| Locilized file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhomsg_I 12/01/2015 09:33:58:661 000011bc                  APP| Could not find resources for locale: ch;file: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhomsg_I 12/01/2015 09:33:58:719 000011bc                  APP| Load english resources.I 12/01/2015 09:33:58:777 000011bc              RhoRuby| require_compiled: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rholang/rhomsg_enI 12/01/2015 09:33:58:830 000011bc              RhoRuby| require_compiled: indifferent_accessI 12/01/2015 09:33:58:890 000011bc              RhoRuby| require_compiled: rho/rhosupportI 12/01/2015 09:33:58:944 000011bc              RhoRuby| require_compiled: rho/rhocontrollerI 12/01/2015 09:33:59:011 000011bc              RhoRuby| require_compiled: rho/renderI 12/01/2015 09:33:59:071 000011bc              RhoRuby| require_compiled: rho/rhoI 12/01/2015 09:33:59:168 000011bc              RhoRuby| require_compiled: rho/rhoerrorI 12/01/2015 09:33:59:214 000011bc              RhoRuby| require_compiled: rhodesI 12/01/2015 09:33:59:272 000011bc                  APP| Looking for RhoConnectClientI 12/01/2015 09:33:59:335 000011bc                  APP| RhoConnectClient found. do nothingE 12/01/2015 09:33:59:386 000011bc              RhoRuby| require_compiled: error: can not find rhodes_translatorI 12/01/2015 09:33:59:444 000011bc              RhoRuby| require_compiled: rho/rhoviewhelpersI 12/01/2015 09:33:59:509 000011bc              RhoRuby| require_compiled: rhoI 12/01/2015 09:33:59:562 000011bc                  APP| RHOSTUDIO_REMOTE_DEBUG=falseI 12/01/2015 09:33:59:644 000011bc                  APP| RHOSTUDIO_REMOTE_HOST=I 12/01/2015 09:33:59:694 000011bc                  APP| RHOSTUDIO_REMOTE_PATH=I 12/01/2015 09:33:59:744 000011bc              RhoRuby| require_compiled: debuggerI 12/01/2015 09:33:59:813 000011bc              RhoRuby| require_compiled: uriI 12/01/2015 09:33:59:863 000011bc              RhoRuby| require_compiled: uri/commonI 12/01/2015 09:33:59:943 000011bc              RhoRuby| require_compiled: uri/genericI 12/01/2015 09:34:00:026 000011bc              RhoRuby| require_compiled: uri/ftpI 12/01/2015 09:34:00:075 000011bc              RhoRuby| require_compiled: uri/httpI 12/01/2015 09:34:00:131 000011bc              RhoRuby| require_compiled: uri/httpsI 12/01/2015 09:34:00:180 000011bc              RhoRuby| require_compiled: uri/ldapI 12/01/2015 09:34:00:241 000011bc              RhoRuby| require_compiled: uri/ldapsI 12/01/2015 09:34:00:288 000011bc              RhoRuby| require_compiled: uri/mailtoI 12/01/2015 09:34:00:384 000011bc              RhoRuby| require_compiled: timeoutI 12/01/2015 09:34:00:432 000011bc                  APP| [Debugger] Opening connectionI 12/01/2015 09:34:00:485 000011bc                  APP| [Debugger] host=127.0.0.1I 12/01/2015 09:34:00:552 000011bc                  APP| [Debugger] port=9000I 12/01/2015 09:34:00:594 000011bc                  APP| [Debugger] path=E:/xmc/rhoworkspace/HEVdemo/app/I 12/01/2015 09:34:00:659 000011bc                  APP| [Debugger] Connected: #<TCPSocket:0x6a75c78>I 12/01/2015 09:34:00:712 000011bc                  APP| RHO loadedI 12/01/2015 09:34:00:770 000011bc                  APP| Calling RHO.initialize , use_new_orm: 0I 12/01/2015 09:34:00:819 000011bc                  APP| MZV_DEBUG: we are in use_new_orm false falseI 12/01/2015 09:34:00:879 000011bc                   DB| Open DB: E:/xmc/rhoworkspace/HEVdemo/rhosimulator/db/syncdbapp.sqliteI 12/01/2015 09:34:00:940 000011bc                   DB| Open DB: E:/xmc/rhoworkspace/HEVdemo/rhosimulator/db/syncdbuser.sqliteI 12/01/2015 09:34:00:998 000011bc                   DB| Open DB: E:/xmc/rhoworkspace/HEVdemo/rhosimulator/db/syncdblocal.sqliteI 12/01/2015 09:34:01:048 000011bc              RhoRuby| require_compiled: rhomI 12/01/2015 09:34:01:097 00001d0c                  APP| [Debugger] Connected to debuggerI 12/01/2015 09:34:01:155 000011bc              RhoRuby| require_compiled: rhom/rhomI 12/01/2015 09:34:01:211 000011bc              RhoRuby| require_compiled: rhom/rhom_object_factoryI 12/01/2015 09:34:01:323 000011bc              RhoRuby| require_compiled: rhom/rhom_objectI 12/01/2015 09:34:01:373 000011bc              RhoRuby| require_compiled: rhom/rhom_modelI 12/01/2015 09:34:01:438 000011bc              RhoRuby| require_compiled: rhom/rhom_sourceI 12/01/2015 09:34:01:499 000011bc              RhoRuby| require_compiled: rhoappmanifestI 12/01/2015 09:34:01:565 000011bc              RhoRuby| require_compiled: findI 12/01/2015 09:34:01:714 000011bc          GeoLocation| Creating singleton instance.I 12/01/2015 09:34:01:777 000011bc            RhodesApp| Starting sync engine...I 12/01/2015 09:34:01:835 000011bc                 Sync| sync_poll_interval: 0I 12/01/2015 09:34:01:877 000011bc                 Sync| syncserver:I 12/01/2015 09:34:01:935 000011bc                 Sync| bulksync_state: 0I 12/01/2015 09:34:01:986 000011bc            RhodesApp| RhoRubyInitApp...I 12/01/2015 09:34:01:986 00000174                 Sync| Starting main routine...I 12/01/2015 09:34:02:044 000011bc                  APP| init_appI 12/01/2015 09:34:02:096 00000174                 Sync| ThreadQueue blocked for 4294967295 seconds...I 12/01/2015 09:34:02:153 000011bc              RhoRuby| require_compiled: applicationI 12/01/2015 09:34:02:271 000011bc           HttpServer| Start HTTP serverI 12/01/2015 09:34:02:319 000011bc           HttpServer| Listen for connections on port 56116I 12/01/2015 09:34:02:369 000011bc         AppCallbacks| addCommand: LOCAL-SERVER-STARTEDI 12/01/2015 09:34:02:419 0000153c         AppCallbacks| LOCAL-SERVER-STARTED is received ++++++++++++++++++++++++++++I 12/01/2015 09:34:02:469 0000153c         AppCallbacks| process command: LOCAL-SERVER-STARTED<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<I 12/01/2015 09:34:02:535 0000153c           SystemImpl| rho_sys_report_app_started() has no implementation in RhoSimulator.I 12/01/2015 09:34:02:577 0000153c         AppCallbacks| process command: UI-CREATED<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<I 12/01/2015 09:34:02:627 0000153c                  Net| Method: GET;Url: http://127.0.0.1:56116/system/uicreatedI 12/01/2015 09:34:02:734 000011bc           HttpServer| Process URI: '/system/uicreated'I 12/01/2015 09:34:02:796 000011bc                  APP| on_ui_created.navigate to start url: '/app'I 12/01/2015 09:34:02:844 00000910         QtMainWindow| WebView: loading...I 12/01/2015 09:34:02:845 0000153c         AppCallbacks| process command: APP-ACTIVATED<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<I 12/01/2015 09:34:02:981 0000153c                  Net| Method: GET;Url: http://127.0.0.1:56116/system/activateappI 12/01/2015 09:34:03:056 000011bc           HttpServer| Process URI: '/system/activateapp'I 12/01/2015 09:34:03:130 000011bc                  APP| AppEvent ActivatedI 12/01/2015 09:34:03:204 0000153c         AppCallbacks| ThreadQueue blocked for 4294967295 seconds...I 12/01/2015 09:34:03:980 000011bc           HttpServer| Process URI: '/app'I 12/01/2015 09:34:04:052 000011bc           HttpServer| Process URI: '/app/index.erb'I 12/01/2015 09:34:04:141 000011bc                  APP| RHO serve_index: /app/index.erbI 12/01/2015 09:34:04:198 000011bc RHO Rho::RhoController| inst_render_indexI 12/01/2015 09:34:04:256 000011bc              RhoRuby| require_compiled: erbI 12/01/2015 09:34:04:340 000011bc                  APP| eval_compiled_file : E:/xmc/rhoworkspace/HEVdemo/app/index.erbI 12/01/2015 09:34:04:407 000011bc                  APP| const_missing: GreetingI 12/01/2015 09:34:04:464 000011bc                  APP| App error: uninitialized constant Rho::Greeting

              RET:  D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rho/rho.rb:1236:in `const_missing'

              RET: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rho/render.rb:153:in `getBinding'

              RET: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rhoframework.rb:55:in `eval'

              RET: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rhoframework.rb:55:in `eval_compiled_file'

              RET: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rho/render.rb:90:in `inst_render_index'

              RET: D:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/framework/rho/render.rb:63:in `renderfile'

                • Re: Where is the created app?
                  MengChang Xiao

                  Rhosimulator startup, the first page of app showed (in this case something wrong: the extension falied,but that does not matter).

                  Nothing under /bin.

                  Amazing!

                  How the simulator works?

                    • Re: Where is the created app?
                      Mark Nongkhlaw

                      IMHO, your extension cannot be tested on Rhosimulator. You need to do so on a real device. Rhosimulator cannot access your USB !

                        • Re: Where is the created app?
                          MengChang Xiao

                          come on,man,tell me where to find the generated app.

                          Forget the extension.

                            • Re: Where is the created app?
                              BHAKTA RANJAN SATAPATHY

                              Hello Xiao,

                               

                              rake run:android:rhosimulator commands launch application in Rhosimulator.

                              To get generated app (i.e .apk) you need to build your application by using command


                              rake run:android:device (This will produce the .apk and will try to deploy on device directly if device connected.).

                              The moment it looks for connected devices, you can go to ./bin/target/android folder, and you can get debug .apk file.


                              rake device:android:production (This will produce signed .apk under ./bin/target/android)


                              Step to run the command:

                              1: Go to application folder in command line.

                              2: run rake clean:android

                              3: run rake run:android:device


                              Thanks


                              • Re: Re: Where is the created app?
                                Jon Tara

                                Rhosimulator startup, the first page of app showed (in this case something wrong: the extension falied,but that does not matter).

                                Nothing under /bin.

                                Amazing!

                                How the simulator works?

                                 

                                When you "build" for RhoSimulator, it does not build a binary. It uses a pre-built-binary, and the pre-built binary just loads the resources. Ruby code is in fact compiled to bytecode, and then the bytecode is loaded by the pre-built binary.

                                 

                                Since the binary is pre-built, it is not possible to use extensions. (All of the built-in Rhodes extensions are included in the pre-built binary. But you cannot use your own.)

                                 

                                It is fast for debugging, but it is a far cry from a realistic environment!

                                 

                                As others have pointed out, to get a binary, you need to build for hardware using different rake commands. Then you can install on a real device, Android emulator, or virtual environment like GenyMotion.

                                1 of 1 people found this helpful
                      • Re: Where is the created app?
                        MengChang Xiao

                        Bhakta & Jon are right。

                         

                        I have tried the command line through cmd.

                        There are errors:

                        1) can't build the extension:

                             "can not locate android-support-v4.jar,check android sdk([])"

                        2) can't store the path through rhodes-setup.

                         

                        I will follow on.

                        Thank you all!