Skip to content

Instantly share code, notes, and snippets.

android {
compileSdkVersion 18
buildToolsVersion "18.1.0"
defaultConfig {
minSdkVersion 12
targetSdkVersion 18
}
sourceSets {
/*
* Copyright (C) 2014. Victor Kosenko (http://qip-blog.eu.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@v3nko
v3nko / Dockerfile
Last active August 9, 2022 10:22
Android SDK docker image
FROM ubuntu:latest
RUN apt update && apt upgrade -y && apt install openjdk-11-jdk wget unzip git -y && apt clean
ENV ANDROID_HOME /opt/android
ENV PATH ${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools
RUN mkdir $ANDROID_HOME
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip -qO android-sdk.zip \