Prevent saving during the tutorial #700
Open
Terasology Jenkins.io / Jenkins
failed
Feb 20, 2024 in 10m 50s
Build Android: error in 'sh' step
Build Android / Shell Script
Error in sh
step, with arguments ./gradlew :android:assembleDebug
.
script returned exit code 1
Build log
+ ./gradlew :android:assembleDebug
Configuration on demand is an incubating feature.
Module modules:core has a build file so counting it complete and including it
> Task :build-logic:extractPluginRequests UP-TO-DATE
> Task :build-logic:generatePluginAdapters UP-TO-DATE
> Task :build-logic:compileJava UP-TO-DATE
> Task :build-logic:compileGroovy NO-SOURCE
> Task :build-logic:compileGroovyPlugins UP-TO-DATE
> Task :build-logic:pluginDescriptors UP-TO-DATE
> Task :build-logic:processResources UP-TO-DATE
> Task :build-logic:classes UP-TO-DATE
> Task :build-logic:jar UP-TO-DATE
Checking the license for package Android SDK Platform-Tools in /opt/android-sdk/licenses
License for package Android SDK Platform-Tools accepted.
Preparing "Install Android SDK Platform-Tools (revision: 35.0.0)".
"Install Android SDK Platform-Tools (revision: 35.0.0)" ready.
Installing Android SDK Platform-Tools in /opt/android-sdk/platform-tools
"Install Android SDK Platform-Tools (revision: 35.0.0)" complete.
"Install Android SDK Platform-Tools (revision: 35.0.0)" finished.
Checking the license for package Android Emulator in /opt/android-sdk/licenses
License for package Android Emulator accepted.
Preparing "Install Android Emulator (revision: 33.1.24)".
"Install Android Emulator (revision: 33.1.24)" ready.
Installing Android Emulator in /opt/android-sdk/emulator
"Install Android Emulator (revision: 33.1.24)" complete.
"Install Android Emulator (revision: 33.1.24)" finished.
Checking the license for package Android SDK Tools in /opt/android-sdk/licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in /opt/android-sdk/tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 30.0.3 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /opt/android-sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':android:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':android:debugCompileClasspath'.
> Could not resolve org.terasology.gestalt:gestalt-android:8.0.0-SNAPSHOT.
Required by:
project :android
> Skipped due to earlier error
> Could not resolve org.terasology:reflections:0.9.12-MB.
Required by:
project :android
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-asset-core:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-entity-system:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-module:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-util:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-di:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.gestalt:gestalt-inject:8.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.nui:nui:4.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.nui:nui-libgdx:4.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.nui:nui-gestalt:4.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
> Could not resolve org.terasology.nui:nui-reflect:4.0.0-SNAPSHOT.
Required by:
project :android > project :engine
> Skipped due to earlier error
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 30s
7 actionable tasks: 7 up-to-date
Details
- Declarative: Checkout SCM (18 sec)
- Setup (1.5 sec)
- Build (3 min 55 sec)
- Analytics (3 min 57 sec)
- Record (47 sec)
- Build Android (1 min 35 sec)
Error: script returned exit code 1 - Record Android (1.1 sec)
- Notify (1 sec)
- Publish to Play Store (12 sec)
- Prepare Fastlane (1 sec)
- Create Release APK (1 sec)
- Target release channel (8.6 sec)
- Publish Alpha To Play Store (4 ms)
- Publish Alpha To Play Store (2.9 sec)
- Publish Beta To Play Store (5 ms)
- Publish Beta To Play Store (2.9 sec)
- Publish Live To Play Store (7.3 sec)
- Publish Live To Play Store (2.9 sec)
- Publish Alpha To Play Store (4 ms)
Loading