Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/update sdk version #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

fix(Build): fix build failures after upgrade

e2057c8
Select commit
Loading
Failed to load commit list.
Open

Fix/update sdk version #70

fix(Build): fix build failures after upgrade
e2057c8
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Jul 17, 2024 in 6m 7s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #70 Fix/update sdk version.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Android
Operating System Linux (Xenial)
JDK Version oraclejdk11
Build Configuration
{
  "language": "android",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "jdk": [
    "oraclejdk11"
  ],
  "android": {
    "components": [
      "extra-android-support",
      "extra-google-m2repository",
      "extra-android-m2repository"
    ]
  },
  "env": [
    "global={:TARGET_VERSION=>\"33\"}={:ANDROID_BUILD_TOOLS_VERSION=>\"33.0.0\"}={:ANDROID_HOME=>\"~/android-sdk\"}"
  ],
  "git": {
    "submodules": false
  },
  "before_install": [
    "touch $HOME/.android/repositories.cfg",
    "wget \"https://dl.google.com/android/repository/commandlinetools-linux-7302050_latest.zip\" -O commandlinetools.zip",
    "unzip commandlinetools.zip -d $ANDROID_HOME/",
    "yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager \"platforms;android-${TARGET_VERSION}\" --sdk_root=$ANDROID_HOME",
    "yes | $ANDROID_HOME/cmdline-tools/bin/sdkmanager \"build-tools;${ANDROID_BUILD_TOOLS_VERSION}\" --sdk_root=$ANDROID_HOME",
    "sed --in-place -e \"s/git@github.com:/https:\\/\\/github.com\\//\" \".gitmodules\"",
    "git submodule update --init --recursive",
    "echo 'count=0' > /home/travis/.android/repositories.cfg"
  ],
  "install": [
],
"before_script": [
],
"jobs": {
"include": [
{
"stage": "test",
"if": "branch = master AND type = pull_request",
"name": "Run Automated Tests: Master PR",
"script": [
"pushd LearningMachine",
"./gradlew clean testDevDebug -PdisablePreDex -PdevBuild --console=plain"
]
},
{
"stage": "build",
"if": "branch = master AND type = push",
"name": "Building Dev Debug build (unsigned) on $TRAVIS_BRANCH",
"script": [
"pushd LearningMachine",
"./gradlew clean assembleDevDebug  -PdisablePreDex"
]
}
]
}
}