rake aborted! extension build failed

s shiv nayak 3 years ago
2 1 0

RMS 5.4.0
Android SDK build-tools: 23.0.3Ndk:   android-ndk-r9d 32bit

I have set sdk and ndk path correctly. When I build first default app using Rhosimulator it build successfully but I build using device or simulator then it gives error as below. plz help me out of this.

ext/shared/generated/cpp/Application_ruby_wrap.cpp: In function 'VALUE rb_s_Application_setNativeMenu(int, VALUE*)':
[31mext/shared/generated/cpp/Application_ruby_wrap.cpp:723:13: error: 'rho_value_to_typed_array' was not declared in this scope
[0m             rho_value_to_typed_array(argv[0], arg0, res);
             ^
[31mext/shared/generated/cpp/Application_ruby_wrap.cpp:723:49: error: expected primary-expression before '>' token
[0m             rho_value_to_typed_array(argv[0], arg0, res);
                                                 ^
rake aborted!
Extension build failed: D:/RhoMobileSuite5.4.0/ruby/lib/ruby/gems/1.9.1/gems/rhodes-5.4.0/lib/commonAPI/coreapi/ext/platform/android

Tasks: TOP => build:android:extensions
(See full trace by running task with --trace)
RET: 1

Please register or login to post a reply

1 Replies

V Vedsatx Saddvv

If you are building in RhoStudio,  please check the "Add --trace to command" checkbox and build again.  Hopefully this will add some more logging that may help.

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