Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27983] Android: Auto download Android components for Hyperloop

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 9.0.3
Fix Version/sn/a
ComponentsHyperloop
Labelsn/a
ReporterSamir Mohammed
AssigneeJoshua Quick
Created2020-06-25T17:25:03.000+0000
Updated2020-06-25T22:03:18.000+0000

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:*

Fresh install of Android Studio components (specifically Android 29)

Create an alloy application

Make sure Hyperloop is enabled

Run application to a non android 29 SDK/Emulator

Comments

No comments

JSON Source