Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Getting the latest version of Android SDK for Ubuntu using wget

I'm trying to create a Dockerfile for an Ubuntu image and in that I'm trying to install Android SDK using the following command

https://dl.google.com/android/android-sdk_r24.3.4-linux.tgz \

However I know for sure 24.3.4 is not the latest version of SDK. How do I find out the latest version of Android SDK. I tried going here

https://developer.android.com/studio/index.html

But even that's does not give me anything about SDK.

Can you pls help?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I just extract the url of latest sdk for Linux by doing:

wget https://developer.android.com/studio/index.html
grep -Po '(?<=href=")[^"]*(?=")' index.html | grep "tools_r.*linux"

You could possibly export it as a variable in your dockerfile.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!