You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] * What went wrong:
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] Could not determine the dependencies of task ':app:lintVitalReportRelease'.
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] > Several environment variables and/or system properties contain different paths to the SDK.
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] Please correct and use only one way to inject the SDK location.
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB]
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] ANDROID_HOME: /home/runner/.gluon/substrate/Android
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] ANDROID_SDK_ROOT: /usr/local/lib/android/sdk
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB]
[Tue Nov 14 15:28:55 UTC 2023][FINE] [SUB] It is recommended to use ANDROID_HOME as other methods are deprecated
It works when the environment variable is manually set to be the same:
- name: Build & Package Mobile Binaryenv: # overwrite the deprecated SDK_ROOT variable on github runnersANDROID_SDK_ROOT: /home/runner/.gluon/substrate/AndroidANDROID_HOME: /home/runner/.gluon/substrate/Androidrun: mvn gluonfx:build gluonfx:package -Pandroid
The text was updated successfully, but these errors were encountered:
Environment:
ubuntu-22.04
gluonhq/setup-graalvm@master
1.0.21
It looks like the GH runner defines an
ANDROID_SDK_ROOT
variable that interferes with theANDROID_HOME
variable and breaks the build.Log file section:
It works when the environment variable is manually set to be the same:
The text was updated successfully, but these errors were encountered: