5 Replies Latest reply on Dec 27, 2013 10:52 AM by Daniel Silva

    Problem Build Android

    Fernando Coelho da Silva

      I'm trying to migrate from Rhodes Studio 2.2.1.13 for Rhodes Studio 4.0.
      Did you install RMS_4.0.0.exe package on my 32bit Windows properly, and it is properly running my application in Simulator Rhodes, more when I generate the build of the Android application with the command: rake device: android: production occurs following error:


      problem.png

      I Need Help!

        • Re: Problem Build Android
          BHAKTA RANJAN SATAPATHY

          Hi,

           

          Have you configured your NDK and SDK path ?

          If yes then Kindly have latest NDK and SDK Installed on your machine.

           

          Kindly provide your rhobuild.yml.

           

          Thanks

          Bhakta

            • Re: Problem Build Android
              Fernando Coelho da Silva

              I am using the latest version of the Android SDK and NDK.


              I think it might be because of the ruby 1.9.1 that must be upgraded to 1.9.3 ... Most do not know how to update it within the design package Rhodes Studio: c:\MotorolaRhoMobileSuite4.0.0\ruby\lib\ruby\gems\1.9.1


              The strange thing is that when you squeegee the command: ruby-v 1.9.3 appears.

               

              My Build.yml

               

              #sdk: "Y:/MotorolaRhoMobileSuite4.0.0/ruby/lib/ruby/gems/1.9.1/gems/rhodes-4.0.0"

              sdkversion: 4.0.0

              name: "Guia Medico"

              version: "desenvolvimento"

              vendor: "Unimed"

              build: "debug"

              bbver: 4.6

              applog: "rholog.txt"

              iphone:

                configuration: "Release"

                sdk: "iphonesimulator6.1"

                provisionprofile: ""

                codesignidentity: ""

                entitlements:

                BundleIdentifier: "br.com.portalunimed.guiamediconacionalunimed"

                BundleURLScheme: "guiamedicomobile"

                emulatortarget: "iphone"

              wp:

                productid: "927d8bc0-042a-0130-07d9-406c8f1dcb78"

              symbian:

                uid: "0xef2a4660"

              android:

                mapping: true

                version: "4.0.3"

                android_title: 0

                orientation: "portrait"

                minSDK: 10

                package_name: "com.unimed.guiamdico"

                production:

                  certificate: "C:/eclipse/portal.keystore"

                  password: ""

                  alias: ""

              extensions:

                - json

              capabilities:

                - gps

                - phone

              obfuscate:

                js: true

                css: true

                exclude_dirs:

                  - jqmobile

                  - jqtouch

                  - jquery

              I am using the latest version of the Android SDK and NDK
                • Re: Problem Build Android
                  BHAKTA RANJAN SATAPATHY

                  Hi,

                  I need to see rhobuild.yml (Available inside rhodes gem @c:\MotorolaRhoMobileSuite4.0.0\ruby\lib\ruby\gems\1.9.1). Just wanted to be sure you have configured your NDK and SDK path correctly.

                   

                  Can you provide your log for rake clean:android and rake device:android:production.

                   

                  rake clean:android > clean.log 2>&1

                  rake device:android:production > build.log 2>&1

                   

                  Thanks

                    • Re: Problem Build Android
                      Fernando Coelho da Silva

                      Hi Bhakta,


                      My rhobuild.yml

                      ---

                      env:

                        paths:

                          java: C:/Arquivos de programas/Java/jdk1.7.0_11/bin

                          android: Y:/adt-bundle-windows-x86-20131030/sdk

                          android-ndk: Y:/android-ndk-r9c

                          cabwiz: C:/Program Files/Windows Mobile 6 SDK/Tools/CabWiz

                          msbuild: C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe

                          vcbuild:

                        app: Y:/Projetos/guia_medico_mobile_smartphone

                      build:

                        bbpath: platform/bb

                        wmpath: platform/wm

                        wppath: platform/wp7

                        wp8path: platform/wp8

                        androidpath: platform/android

                        iphonepath: platform/iphone

                        symbianpath: platform/symbian

                        bb:

                        bbsignpwd: somepasswordhere

                      android:

                      excludedirs:

                        all:

                        - ! '**/.*.swo'

                        - ! '**/.*.swn'

                        - ! '**/.DS_Store'

                       

                      ---

                       

                      My rholog.txt

                       

                      E 12/23/2013 16:51:39:335 00001e1c           RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      E 12/26/2013 08:27:12:257 00000740          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 08:27:12:397 00000740          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 08:27:16:022 00000740       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 08:28:39:717 00000d70          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 08:28:39:777 00000d70          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 08:28:42:912 00000d70       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 08:41:02:691 00000b50          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 08:41:02:771 00000b50          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 08:41:06:065 00000b50       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 08:41:19:765 00000b50       HttpServer| The file /app/Resourse/set_cod_city_suggestion was not found
                      E 12/26/2013 08:41:19:785 00000b50       HttpServer| The file /app/Resourse/set_location_gps was not found
                      E 12/26/2013 08:41:21:037 00000b50       HttpServer| The file /app/Resourse/set_cod_city_suggestion was not found
                      E 12/26/2013 08:41:21:047 00000b50       HttpServer| The file /app/Resourse/set_location_gps was not found
                      E 12/26/2013 08:41:24:592 00000c6c              Net| An error occured connecting to the server: 500 returned.
                      E 12/26/2013 13:42:23:642 00001310          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 13:42:23:753 00001310          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 13:42:27:788 00001310       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 13:42:48:548 00001310       HttpServer| The file /app/Resourse/set_cod_city_suggestion was not found
                      E 12/26/2013 13:42:48:548 00001310       HttpServer| The file /app/Resourse/set_location_gps was not found
                      E 12/26/2013 13:42:50:060 00001310       HttpServer| The file /app/Resourse/set_cod_city_suggestion was not found
                      E 12/26/2013 13:42:50:070 00001310       HttpServer| The file /app/Resourse/set_location_gps was not found
                      E 12/26/2013 13:42:52:674 000013fc              Net| An error occured connecting to the server: 500 returned.
                      E 12/26/2013 15:16:16:661 00001f70          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 15:16:16:804 00001f70          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 15:16:20:726 00001f70       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 15:22:53:136 000018e8          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 15:22:53:266 000018e8          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 15:22:56:711 000018e8       HttpServer| The file /favicon.ico was not found
                      E 12/26/2013 16:02:36:648 00001878          RhoRuby| require_compiled: error: can not find RhoConnectClient
                      E 12/26/2013 16:02:36:778 00001878          RhoRuby| require_compiled: error: can not find rhodes_translator
                      E 12/26/2013 16:02:50:668 00001878       HttpServer| Error when receiving data from socket. Client does not send data for 10 sec. Cancel recieve.
                      E 12/26/2013 16:02:50:668 00001878       HttpServer| Parsing error
                               RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      E 12/23/2013 16:51:39:335 00001e1c           RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      E 12/23/2013 16:51:39:335 00001e1c           RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      E 12/23/2013 16:51:39:335 00001e1c           RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      E 12/23/2013 16:51:39:335 00001e1c           RubyVM| Y:/MotorolaRhoMobileSuite2.2.1.13/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.5.1.13/lib/framework/rho/rhosupport.rb:40: warning: regexp match /.../n against to UTF-8 string
                      04a8     QtMainWindow| Page load failed.
                      E 12/23/2013 11:22:14:761 00000d60       HttpServer| The file /app/www.google.com.br was not found