Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27771

Android: Hyperloop builds fail if NDK not installed as of 9.0.0

    Details

    • Story Points:
      1
    • Sprint:
      2020 Sprint 4

      Description

      (This issue was caught before 9.0.0.GA.)

      Description

      When building a hyperloop application without an NDK installed the build errors with the below, we just need to do a defensive check when we're looking up the ndk path

      [ERROR] TypeError: Cannot read property 'path' of null
          at HyperloopAndroidBuilder.build (/Users/awam/Library/Application Support/Titanium/modules/android/hyperloop/5.0.0/hooks/hyperloop.js:127:106)
      

      Steps to reproduce

      1. Move your NDK away from the usual location (~/Library/Android/sdk/ndk/) so the CLI doesn't autodetect and remove it from the config with {{appc ti config --remove android.ndkPath
      2. Build the hyperloop-examples app

      Actual

      Above error

      Expected

      No error

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Joshua Quick
              Tester:
              Lokesh Choudhary
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration