Я хочу создать приложение для Android и начать подписывать его.
для этого мне нужно иметь версию APK. Документация Google предлагает только Eclipse и Ant Ways, чтобы иметь сборки выпуска: http://developer.android.com/tools/publ ... leобразное. build.gradle также не дает никаких подсказок. Задачи Gradlew < /code> предполагают, что не существует конфигурации выпуска установки, но существует удаление выпуска: < /p>
Install tasks
-------------
installDebug - Installs the Debug build
installTest - Installs the Test build for the Debug build
uninstallAll - Uninstall all applications.
uninstallDebug - Uninstalls the Debug build
uninstallRelease - Uninstalls the Release build
uninstallTest - Uninstalls the Test build for the Debug build
< /code>
my build.gradle < /code>: < /p>
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
dependencies {
compile 'com.android.support:support-v4:13.0.+'
compile files('libs/android-support-v4.jar')
compile project(":libraries:ActionBarSherlock")
compile project(":libraries:CollabsibleSearchMenu")
}
android {
compileSdkVersion 18
buildToolsVersion "18.0.1"
defaultConfig {
minSdkVersion 8
targetSdkVersion 16
}
}
< /code>
Чего мне не хватает? < /p>
Подробнее здесь: https://stackoverflow.com/questions/184 ... ease-build