在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):cookpad/gradle-android-sdk-manager开源软件地址(OpenSource Url):https://github.com/cookpad/gradle-android-sdk-manager开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):This library is no longer maintained. Use https://github.com/JakeWharton/sdk-manager-plugin instead. gradle-android-sdk-managerThis plugin manages Android SDK and build tools for gradle. Installationapply from: 'https://raw2.github.com/cookpad/gradle-android-sdk-manager/master/sdk_manager.gradle' UsageRead SDK path from local.propertiesreadLocalPropertiesValue("sdk.dir") // => /usr/local/opt/android-sdk
readLocalPropertiesValue("ndk.dir") // => /usr/local/opt/android-ndk Find SDK or NDK dirguessSdkDir()
guessNdkDir() Find the following paths for a SDK directory in the following order:
Install required SDK and build tools if necessary
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
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论