Обычно в Android студии под build
у нас есть assemble
, assembleDebug
и assembleRelease
. У моего проекта так было до недавнего времени. Внезапно assembleDebug
и assembleRelase
исчезли из build
и теперь могут быть найдены в other tasks
(см. Рисунок).
![enter image description here](https://i.stack.imgur.com/A7Vlp.png)
Запуск gradlew
из командной строки показывает то же самое, т. Е .:
Build tasks
-----------
assemble - Assemble main outputs for all the variants.
assembleAndroidTest - Assembles all the Test applications.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
bundle - Assemble bundles for all the variants.
classes - Assembles main classes.
clean - Deletes the build directory.
cleanBuildCache - Deletes the build cache directory.
compileDebugAndroidTestSources
compileDebugSources
compileDebugUnitTestSources
compileReleaseSources
compileReleaseUnitTestSources
extractDebugAnnotations - Extracts Android annotations for the debug variant into the archive file
extractReleaseAnnotations - Extracts Android annotations for the release variant into the archive file
jar - Assembles a jar archive containing the main classes.
testClasses - Assembles test classes.
Я не думаю, что я сделал что-то необычное в моих файлах Gradle. У кого-нибудь есть идеи, что могло бы произойти и почему assembleDebug
не отображается в build
, а в other tasks
?