gradle-android-sdk-manager


Source link: https://github.com/cookpad/gradle-android-sdk-manager

This library is no longer maintained. Use https://github.com/JakeWharton/sdk-manager-plugin instead.

gradle-android-sdk-manager

This plugin manages Android SDK and build tools for gradle.

Installation

apply from: 'https://raw2.github.com/cookpad/gradle-android-sdk-manager/master/sdk_manager.gradle'

Usage

Read SDK path from local.properties

readLocalPropertiesValue("sdk.dir") // => /usr/local/opt/android-sdk readLocalPropertiesValue("ndk.dir") // => /usr/local/opt/android-ndk

Find SDK or NDK dir

guessSdkDir() guessNdkDir()

Find the following paths for a SDK directory in the following order:

  • local.properties
  • System.getenv("ANDROID_HOME")
  • System.getenv("ANDROID_SDK")
  • "/usr/local/opt/android-sdk" // brew --prefix android-sdk
  • "/Applications/Android Studio.app/sdk"

Install required SDK and build tools if necessary

android(1) has a headless mode to install android development tools from terminals. installRequiredSdk() installs build tools with specified versions declared in build.gradle.

android {

  compileSdkVersion 18
  buildToolsVersion '19.0.1'

// installs Android SDK 18 and build tools 19.0.1
  // with "sdk.dir" value from local.properties
  installRequiredSdk(android)
  // or you can pass the sdk dir explicitly
  installRequiredSdk(android, "/Applications/Android Studio.app/sdk")

...

Contributing

  1. Fork it
  2. Create your feature branch ( git checkout -b my-new-feature)
  3. Commit your changes ( git commit -am 'Add some feature')
  4. Push to the branch ( git push origin my-new-feature)
  5. Create new Pull Request

Resources

MonthView is an android library to display month calendar within the app.

In the spirit of the Maven Versions Plugin, Gradle Versions Plugin provides a task to determine which dependencies have updates.

This library provides a version of GridLayout that works across all versions of Android 1.5+. As a side effect, this library also includes the lightweight Space as well.

android-advancedrecyclerview is a RecyclerView extension library. It provides Google's Inbox app like swiping and Play Music app like drag and drop sorting features.

Simple WheelView for Android.

android-openslmediaplayer is a re-implementation of Android's MediaPlayer and audio effect classes based on OpenSL ES APIs.

Features:

  • Provides both C++ and Java API sets
  • Smooth fade in/out when starts/pauses playback
  • High quality resampler
  • 10 bands graphic equalizer & pre. amplifier
  • High quality Visualizer class

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes