Failed to build RhoMobile 5.2.2

A Alpesh Budhia 3 years 6 months ago
1 2 0

Hi,

I've just installed RhoStudio 5.2.2 and getting the below error when try to build our app for Android.

Android ndk version  - r9d
Android SDK - API 19 and 22 installed

Any ideas on a fix for this?
ThanksAlpesh

** Invoke config:android
** Execute build:android:genconfig
-$TIME$- message [ build:android:genconfig START ] time is { 2015-08-25T16:22:36Z } milliseconds from start (13648)
{"audio"=>false, "camera"=>true, "gps"=>true, "network_state"=>true, "phone"=>true, "pim"=>false, "record_audio"=>false, "vibrate"=>true, "bluetooth"=>false, "calendar"=>false, "sdcard"=>false, "read_
sdcard"=>false, "push"=>false, "shared_runtime"=>false, "hardware_acceleration"=>false}
Need to regenerate genconfig.h
-$TIME$- message [ build:android:genconfig FINISH ] time is { 2015-08-25T16:22:36Z } milliseconds from start (13659)
** Execute build:android:extensions
-$TIME$- message [ build:android:extensions START ] time is { 2015-08-25T16:22:36Z } milliseconds from start (13659)
** Invoke build:bundle:noxruby
Building coreapi: ["C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/ext/platform/android", "rake"]
Build extension (arm): coreapi
--------------------------------------------------------------------------------
PWD: C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/ext/platform/android
rake arch:arm --trace
cd ../../..
** Invoke arch:arm (first_time)
rake aborted!
Don't know how to build task 'c:/_DevRhoStudio/Rhodesv1050/bin/tmp/coreapi/arm/timer_api_init.cpp.o'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in `[]'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/file_task.rb:32:in `block in out_of_date?'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/file_task.rb:32:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/file_task.rb:32:in `any?'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/file_task.rb:32:in `out_of_date?'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/file_task.rb:16:in `needed?'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:221:in `format_trace_flags'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `'
C:/RhoMobileSuite5.2.2/ruby/bin/rake:23:in `load'
C:/RhoMobileSuite5.2.2/ruby/bin/rake:23:in `'
Tasks: TOP => arch:arm => c:/_DevRhoStudio/Rhodesv1050/bin/target/android/release/extensions/coreapi/armeabi/libcoreapi.a
rake aborted!
Extension build failed: C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/lib/commonAPI/coreapi/ext/platform/android
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:968:in `block (5 levels) in '
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:954:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:954:in `block (4 levels) in '
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:924:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:924:in `block (3 levels) in '
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/Rakefile:5000:in `invoke'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/platform/android/build/android.rake:877:in `block (3 levels) in '
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.2.2/Rakefile:5000:in `invoke'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
C:/RhoMobileSuite5.2.2/ruby/lib/ruby/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `'
C:/RhoMobileSuite5.2.2/ruby/bin/rake:23:in `load'
C:/RhoMobileSuite5.2.2/ruby/bin/rake:23:in `'
Tasks: TOP => build:android:extensions
**** WARNING *************************************************************************************************
   The following extensions do not have JavaScript API:
   digest, digest-sha1, digest-sha2, digest-md5, openssl
   Use RMS 4.0 extensions to provide JavaScript API
**************************************************************************************************************
**** WARNING: Minification error *****************************************************************************
   Minification errors occured. Minificator stderr output:
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     664:41:missing formal parameter
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     832:6:missing ) in parenthetical
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1144:11:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1146:24:missing ; before statement
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1147:14:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1148:16:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1149:21:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1150:26:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1151:17:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1152:17:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1153:13:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1154:19:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1155:22:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1156:18:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1157:31:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1160:2:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
     1:0:Compilation produced 16 syntax errors.
   [YUI] Error minifying c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/js/rho_javascript_api.js
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:2:syntax error
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:96:missing ; before statement
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:137:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:396:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:533:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:674:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:754:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     4:763:invalid return
   [ERROR] in c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
     1:0:Compilation produced 8 syntax errors.
   [YUI] Error minifying c:/_DevRhoStudio/Rhodesv1050/bin/tmp/assets/apps/public/pickadate/lib/legacy.js
**************************************************************************************************************

Please Register or Login to post a reply

2 Replies

A Alpesh Budhia

Forgot to do a rake clean:android, this fixed it.

J Jon Tara

Was 5.2 released? (Yes, I see there is a 5.2.2 suite download on the rhomobile.com site.)

Release notes?

I would assume that 5.2.2 will require a newer version of  the NDK than r9D.

I know that one of the goals of 5.2 was to support Lollipop. I would assume that a refresh of an NDK version was part of that.

CONTACT
Can’t find what you’re looking for?