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

Android: Auto download Android components for Hyperloop

    Details

    • Type: Improvement
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 9.0.3
    • Fix Version/s: None
    • Component/s: Hyperloop
    • Labels:
      None
    • Environment:

      MAC OS: 11.0 Beta
      SDK: 9.0.3.GA
      "NPM":"5.0.0","CLI":"8.0.0"
      Node: 12.18.1

      Description

      Currently when trying to run an app with Hyperloop enabled using a non android 29 SDK the following error can be seen:

      [INFO]  Alloy compiled in 0.56529s
      [INFO]  Alloy compiler completed successfully
      [INFO]  Cleaning Hyperloop build directory
      [INFO]  Starting Hyperloop assembly
      [ERROR] Error: Invalid CLASSPATH specified, file /Users/axwaysu/Library/Android/sdk/platforms/android-29/android.jar does not exist.
          at /Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/metabase/metabase.js:202:10
          at Array.forEach (<anonymous>)
          at calculateCacheToken (/Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/metabase/metabase.js:200:12)
          at Object.loadMetabase (/Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/metabase/metabase.js:144:23)
          at /Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/tasks/generate-metabase-task.js:53:22
          at new Promise (<anonymous>)
          at GenerateMetabaseTask.runTaskAction (/Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/tasks/generate-metabase-task.js:52:10)
          at async HyperloopAndroidBuilder.build (/Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/hyperloop.js:205:3)
          at async HyperloopAndroidBuilder.init (/Users/axwaysu/Library/Application Support/Titanium/modules/android/hyperloop/5.0.3/hooks/hyperloop.js:103:4)
      

      Test Steps:

      1. Fresh install of Android Studio components (specifically Android 29)
      2. Create an alloy application
      3. Make sure Hyperloop is enabled
      4. Run application to a non android 29 SDK/Emulator

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              smohammed Samir Mohammed
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration