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

CLI: "Invalid Version: .DS_Store.0" Is Shown when using old build tools to build an Android project


    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: Release 6.2.0
    • Component/s: CLI
    • Labels:
    • Environment:
    • Sprint:
      2017 Sprint 14 Tooling


      When building a project with Andorid build tools 22.0.1, I am getting the following error message. (trace enabled) log.txt

      Test steps

      1. Uninstall all Android build-tools apart from 22.0.1
      2. Create a new project
      3. cd in to the project
      4. Use the following command Build a project with appc run -p android -T device --build-only

      Expected Result
      Following error message should be displayed: https://jira.appcelerator.org/browse/TIMOB-24779

      [ERROR] Missing required Android SDK tools: zipalign, aapt, aidl, dx
      [ERROR] The Android SDK located at /Users/smohammed/Library/android-sdk-macosx has incomplete or out-of-date packages.
      [ERROR] Current installed Android SDK tools:
      [ERROR]   Android SDK Tools:          26.0.1
      [ERROR]   Android SDK Platform Tools: 25.0.4
      [ERROR]   Android SDK Build Tools:    not installed
      [ERROR] Make sure you have the latest Android SDK Tools, Platform Tools, and Build Tools installed.
      [ERROR] You can also specify the exact location of these required tools by running:
      [ERROR]   ti config android.executables.zipalign "/path/to/android-sdk/zipalign"
      [ERROR]   ti config android.executables.aapt "/path/to/android-sdk/aapt"
      [ERROR]   ti config android.executables.aidl "/path/to/android-sdk/aidl"
      [ERROR]   ti config android.executables.dx "/path/to/android-sdk/dx"
      [ERROR] If you need to, run "titanium setup android" to reconfigure the Titanium Android settings.

      Actual result:
      Following error is show (trace enabled)

      NOTE: If you use the terminal to cd in to Library/android-sdk-macosx/build-tools and use rm .DS_Store and then build the project (step 4 above) the correct error message is shown.


          Issue Links



              • Assignee:
                eharris Ewan Harris
                smohammed Samir Mohammed
              • Watchers:
                3 Start watching this issue


                • Created:

                  Backbone Issue Sync

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

                    Git Integration