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

Android: Module build process errors out if no NDK path is set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.1, Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Android, CLI
    • Labels:
      None
    • Environment:

      Windows 10 Pro 1703
      Ti SDK: 6.1.1.GA, 6.2.0.v20170630062735

    • Sprint:
      2017 Sprint 14 Tooling

      Description

      Description

      When building without an Android NDK path set the build process will error out with the below

      2017-07-05T10:17:56.896Z | ERROR  | An uncaught exception was thrown!
      Cannot read property 'path' of null
      2017-07-05T10:17:56.898Z | ERROR  | Cannot read property 'path' of null

      Steps to reproduce
      1. Remove the ndk path from your config appc ti config --remove android.ndkPath
      2. Build an Android module using {{appc run -p android --build-only
      Actual

      Errors out with above error

      Expected

      Should error out with unable to find an Android SDK

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Chris Barber
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10865
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code