6 Replies Latest reply on Sep 15, 2013 7:03 AM by Marcelo Ciceri

    Can't detect NDK ToolChain

    Val Palhories

      I'm having a problem trying to run my application on either the Simulator or an Android Device. Note that it works fine using the RhoSimulator. I'm running the 64-bit version. I've also tried the 32-bit version with the same results.

       

      Here is my tracelog:

       

      E:\WorkSpace\ScoutMobile>rake run:android --trace

      cd C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.4.2

      ** Invoke run:android (first_time)

      ** Invoke run:android:emulator (first_time)

      ** Invoke config:android:emulator (first_time)

      ** Invoke config:android (first_time)

      ** Invoke config:set_android_platform (first_time)

      ** Execute config:set_android_platform

      ** Execute config:android

      ** Invoke config:common (first_time)

      ** Execute config:common

      $app_config['extensions'] : ["json", "another-extension", "rhoelementsext", "motoapi", "rhoelements"]

      $app_config['capabilities'] : ["gps", "camera", "motorola_browser", "motorola","webkit_browser"]

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-10: 10

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-13: 13

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-14: 14

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-15: 15

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-16: 16

      +++ API LEVEL of C:/Program Files (x86)/Android/android-sdk/platforms/android-8: 8

      Use Google addon API: false

      +++ Looking for platform...

      +++ Platform found: android-16

      $vendor = rhomobile

      $app_package_name = com.rhomobile.scoutmobile

      setup_ndk(C:/android-ndk-r8d-windows, 16)

      rake aborted!

      Can't detect NDK toolchain path (corrupted NDK installation?)

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.4.2/platform/android/build/androidcommon.rb:88:in `setup_ndk'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/gems/1.9.1/gems/rhodes-3.4.2/platform/android/build/android.rake:421:in `block (2 levels) in <top (required)>'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:205:in `call'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:205:in `blockin execute'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:200:in `each'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:200:in `execute'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:158:in `blockin invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:176:in `blockin invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `each'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:157:in `blockin invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:176:in `blockin invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `each'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:157:in `blockin invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:176:in `blockin invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `each'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:174:in `invoke_prerequisites'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:157:in `blockin invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/task.rb:144:in `invoke'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:116:in`invoke_task'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:94:in `each'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:94:in `block in top_level'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:133:in`standard_exception_handling'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:88:in `top_level'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:66:in `block in run'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:133:in`standard_exception_handling'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/lib/ruby/1.9.1/rake/application.rb:63:in `run'

      C:/MotorolaRhoMobileSuite2.1.1.7/ruby/bin/rake:32:in `<main>'

      Tasks: TOP => run:android => run:android:emulator => config:android:emulator =>config:android

       

      Not sure where to go from here.

       

      Thanks.

       

      --- Val