Skip to content

Instantly share code, notes, and snippets.

@proppy
Last active August 29, 2015 14:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save proppy/e41195a41bea12e8c205 to your computer and use it in GitHub Desktop.
android-sdk docker image

android-sdk docker image

build

docker build -t android-sdk

usage

wget http://developer.android.com/downloads/samples/DisplayingBitmaps.zip 
unzip DisplayingBitmaps.zip
docker run -v ~/DisplayingBitmaps:/usr/src/app android-sdk gradle -p /usr/src/app build
$ docker run -v `pwd`:/usr/src/app android-sdk gradle -p /usr/src/app build
Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.0.0/gradle-1.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder/1.0.0/builder-1.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint/24.0.0/lint-24.0.0.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.1/proguard-gradle-5.1.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.1/proguard-parent-5.1.pom
Download https://jcenter.bintray.com/com/android/tools/sdk-common/24.0.0/sdk-common-24.0.0.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://jcenter.bintray.com/com/android/tools/common/24.0.0/common-24.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/1.0.0/builder-test-api-1.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/24.0.0/ddmlib-24.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/24.0.0/manifest-merger-24.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/1.0.0/builder-model-1.0.0.pom
Download https://jcenter.bintray.com/com/android/tools/sdklib/24.0.0/sdklib-24.0.0.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/24.0.0/lint-checks-24.0.0.pom
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.2.2/ecj-4.2.2.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.1/proguard-base-5.1.pom
Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/24.0.0/layoutlib-api-24.0.0.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
Download https://jcenter.bintray.com/com/android/tools/dvlib/24.0.0/dvlib-24.0.0.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/33/commons-parent-33.pom
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/24.0.0/lint-api-24.0.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/4.0/asm-parent-4.0.pom
Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/11/commons-parent-11.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/4.0/asm-4.0.pom
Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.2/lombok-ast-0.2.2.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.0.0/gradle-1.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder/1.0.0/builder-1.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint/24.0.0/lint-24.0.0.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.1/proguard-gradle-5.1.jar
Download https://jcenter.bintray.com/com/android/tools/sdk-common/24.0.0/sdk-common-24.0.0.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
Download https://jcenter.bintray.com/com/android/tools/common/24.0.0/common-24.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/1.0.0/builder-test-api-1.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/24.0.0/ddmlib-24.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/24.0.0/manifest-merger-24.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/1.0.0/builder-model-1.0.0.jar
Download https://jcenter.bintray.com/com/android/tools/sdklib/24.0.0/sdklib-24.0.0.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/24.0.0/lint-checks-24.0.0.jar
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.2.2/ecj-4.2.2.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.1/proguard-base-5.1.jar
Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.jar
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/24.0.0/layoutlib-api-24.0.0.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
Download https://jcenter.bintray.com/com/android/tools/dvlib/24.0.0/dvlib-24.0.0.jar
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/24.0.0/lint-api-24.0.0.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm/4.0/asm-4.0.jar
Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.2/lombok-ast-0.2.2.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar
:app:preBuild
:app:compileDebugNdk
:app:preDebugBuild
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:compileDebugJavawarning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/app/Activity.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/os/Bundle.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Menu.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/MenuItem.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater$Factory2.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater$Factory.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Window.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Window$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/KeyEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/KeyEvent$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/os/Parcelable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/InputEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/View.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/View$OnCreateContextMenuListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/graphics/drawable/Drawable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/graphics/drawable/Drawable$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/accessibility/AccessibilityEventSource.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ComponentCallbacks2.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ComponentCallbacks.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ContextThemeWrapper.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ContextWrapper.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/Context.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/String.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug$ExportedProperty.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug$IntToString.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Override.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Annotation.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Target.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/ElementType.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Retention.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/RetentionPolicy.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Error.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/pm/PackageManager.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/pm/PackageManager$NameNotFoundException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/util/AndroidException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Exception.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Throwable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/RuntimeException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/IntentSender.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/IntentSender$SendIntentException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/io/IOException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/io/FileNotFoundException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/MenuInflater.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Boolean.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
47 warnings
:app:preDexDebug
:app:dexDebug
:app:processDebugJavaRes UP-TO-DATE
:app:validateDebugSigning
:app:packageDebug
:app:zipalignDebug
:app:assembleDebug
:app:preReleaseBuild
:app:checkReleaseManifest
:app:prepareReleaseDependencies
:app:compileReleaseAidl
:app:compileReleaseRenderscript
:app:generateReleaseBuildConfig
:app:generateReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets
:app:generateReleaseResValues
:app:generateReleaseResources
:app:mergeReleaseResources
:app:processReleaseManifest
:app:processReleaseResources
:app:generateReleaseSources
:app:compileReleaseJavawarning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/app/Activity.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/os/Bundle.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Menu.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/MenuItem.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater$Factory2.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/LayoutInflater$Factory.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Window.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/Window$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/KeyEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/KeyEvent$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/os/Parcelable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/InputEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/View.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/View$OnCreateContextMenuListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/graphics/drawable/Drawable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/graphics/drawable/Drawable$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/accessibility/AccessibilityEventSource.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ComponentCallbacks2.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ComponentCallbacks.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ContextThemeWrapper.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/ContextWrapper.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/Context.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/String.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug$ExportedProperty.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/ViewDebug$IntToString.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Override.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Annotation.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Target.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/ElementType.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/Retention.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/annotation/RetentionPolicy.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Error.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/pm/PackageManager.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/pm/PackageManager$NameNotFoundException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/util/AndroidException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Exception.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/Throwable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/lang/RuntimeException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/IntentSender.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/content/IntentSender$SendIntentException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/io/IOException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(java/io/FileNotFoundException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
warning: /usr/local/android-sdk-linux/platforms/android-21/android.jar(android/view/MenuInflater.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
46 warnings
:app:lintVitalRelease SKIPPED
:app:compileReleaseNdk
:app:preDexRelease
:app:dexRelease
:app:processReleaseJavaRes UP-TO-DATE
:app:packageRelease
:app:assembleRelease
:app:assemble
:app:compileLint
:app:lint
Ran lint on variant release: 1 issues found
Ran lint on variant debug: 1 issues found
Wrote HTML report to file:/usr/src/app/app/build/outputs/lint-results.html
Wrote XML report to /usr/src/app/app/build/outputs/lint-results.xml
:app:check
:app:build
BUILD SUCCESSFUL
Total time: 49.266 secs
$ find . | grep apk
./app/build/outputs/apk
./app/build/outputs/apk/app-debug-unaligned.apk
./app/build/outputs/apk/app-debug.apk
./app/build/outputs/apk/app-release-unsigned.apk
./app/build/outputs/apk/manifest-merger-debug-report.txt
./app/build/outputs/apk/manifest-merger-release-report.txt
FROM java:openjdk-6-jdk
# install android tools deps:i386 and build tools
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -yq libstdc++6:i386 zlib1g:i386 ant maven
RUN curl -L http://services.gradle.org/distributions/gradle-2.2.1-bin.zip -o /tmp/gradle-2.2.1-all.zip && unzip /tmp/gradle-2.2.1-all.zip -d /usr/local && rm /tmp/gradle-2.2.1-all.zip
ENV GRADLE_HOME /usr/local/gradle-2.2.1
# install android sdk tools
RUN curl -L http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz | tar xz -C /usr/local
# install sdk components
ENV ANDROID_HOME /usr/local/android-sdk-linux
RUN echo y | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter platform-tools,build-tools-21.1.2,android-21,extra-android-support
ENV PATH $PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$GRADLE_HOME/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment