I'm utilizing the gitlab auto devops android template Android.gitlab-ci.yml here but it's using a java 8 image (whereas I want to use java 11). Also, it has ANDROID_COMPILE_SDK set to "29" and I want to compile my app with the latest version - currently 31.
How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)
812 Views Asked by Kevin Worth At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in JAVA-8
- Java control panel glitching or becomes yellowish
- Uneven Load Distribution in Kubernetes Pods with Multithreaded Execution using fork join pool
- test result: Error. Program `sh' timed out (timeout set to 480000ms, elapsed time including timeout handling was 480002ms)
- java.net.ConnectException: Connection timed out: no further information Java to SOAP
- Java Stream, Need to update list of list objects
- Setting up different Java class fields value by a single value on some counter value
- feign client Spring boot
- `TYPE_USE` vs `TYPE` vs `TYPE_PARAMETER` annotations
- Error faced in trying to install Java 8 on Raspberry Pi 4B
- Grouping by multiple fields and counting using in Java 8
- How to customize mention notifications in liferay 7.3.5
- Without _JAVA_OPTIONS and JAVA_TOOL_OPTIONS, whether LeanFT will work or not?
- How to build a CriteriaQuery from SQL query
- From a string I am manually setting the date and time in calendar, for the other days it is working fine but for 28 and 29 Feb it is setting wrong val
- Sort strings containing numbers, chars and ponctuations in ”human readable order”
Related Questions in GITLAB
- There are no active runners online GitLab
- Error rising in gitlab configuration file
- Git commit asks for passphrase which I don't remember
- On Gitlab, is there a way to allow Maintaners to merge MRs even if some checks fail?
- Jenkins pipeline script: Accept merge request from Gitlab
- How to integrate GitLab code into SAP DataServices job?
- How to use dynamic value for start_in using environment variable in gitlab pipeline child job
- Replace React Variables in build folder before serving the build by express Server
- Gitlab CI/CD pipeline not destroying created Terraform created resources
- DevOps Preference: Point Solutions or Single Platform?
- GitLab release-job creates a release where asset is artifacts.zip instead of concrete file
- How to run particular jobs in GitLab CI/CD via GitLab API?
- How to start from a clean stage after maven release job fails in GitLab pipeline?
- Gitlab 16.10: The scheduler failed to assign job to the runner, please try again or contact system administrator
- Gitlab-runner cann't connect to gitlab server
Related Questions in JAVA-11
- About installing openjdk on Fedora workstation
- Eclipse-Maven Forcefully Overwrites Java Version Set Every Update Project
- Issues with the JRE when attempting to open an AEM instance by using JDK 11.0.19 on Ubuntu
- After upgrading to JDK 11 my SOAP response is different
- Problems setting up a new quarkus project on Mac
- In intellij while creating new spring project nit able to see java version below 17
- Lombok AnnotationProcessor failing with Bazel build
- Running test throws NoSuchMethodError
- OracleDataSource cannot implement createConnectionBuilder() in javax.sql.Datasource
- What is the best approach to access concrete sub class specific methods using java?
- Why does LazyInitializationException get thrown on non linked entities?
- Is there a way to make keep-alive setting specific to one instance of java.net.http.HttpClient
- Could not initialize class org.apache.pulsar.jetty.tls.JettySslContextFactory
- RHEL9, OpenJDK 11, FIPS - issues with PBES2 ciphers
- Trouble with setting up Java modules in Apache NetBeans 20 Flatpak Installation, on Linux Mint 21.3 Virginia
Related Questions in GITLAB-AUTODEVOPS
- GitLab Auto Dev Ops and rubocop plugins extension incompatibility
- Gitlab auto DevOps pipeline with docker
- GitLab Auto DevOps - how to select the runner it runs on?
- Add Helm chart dependencies with GitLab Auto DevOps
- How to set the output of shell script in a variable in yaml?
- Is there a way to override the default GitLab CI AutoDevOps templates?
- How to restrict read and write access for a particular branch for one project member. He should have access for another branches of same project
- Building a Docker Image and pushing to AWS using Auto DevOps in GitLab
- Why is `KUBE_NAMESPACE` not set anymore?
- GitLab Auto DevOps test job fails with special characters in project CI variables
- Building different images for each environment with Gitlab-CI AutoDevOps
- GitLab Auto DevOps on Kubernetes hangs, network timeouts, cannot execute yj
- Cannot connect to Kubernetes cluster with kubectl and liveness probe fails
- Why does my container registry work for gitlab autodeploy but not for my custom pipeline?
- How to use Gitlab's Auto DevOps for multi-container application?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is another "latest" template file named
Android.latest.gitlab-ci.ymlwhich can be found on gitlab here . At time of writing it setsimageto "openjdk:11-jdk" andCOMPILE_SDKto "30". See relevant gitlab MR/discussion for more context.So, if you just want to use whatever is in the template, your
.gitlab-ci.ymljust needs to look like this:That's all you need.
At time of writing that sets
ANDROID_COMPLE_SDKto "30". So, if you want to bump that up and set it yourself, it's as simple as adding it to that file. For instance:Just remember that if/when someone updates the template to say, "32", you'll still be using "31". The choice is yours:
include) and you'll get the update automatically when someone updates the template