Skip to content

Instantly share code, notes, and snippets.

@jianzhongli
Created October 30, 2019 02:37
Show Gist options
  • Save jianzhongli/eb806ab1c1620b36ff27ff56158cf6e4 to your computer and use it in GitHub Desktop.
Save jianzhongli/eb806ab1c1620b36ff27ff56158cf6e4 to your computer and use it in GitHub Desktop.
jianzhongli:pts $ flutter build aar
Initializing gradle... 0.4s
Resolving dependencies... 1.1s
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done 0.5s
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleAarRelease' not found in root project 'android_generated'. Some candidates are: 'assembleRelease'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 445ms
Gradle task assembleAarRelease failed with exit code 0.
jianzhongli:pts $ flutter build aar --verbose
[ +19 ms] executing: [/Users/jianzhongli/workspace/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +29 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 2cedd559bb9798ac1ba09f0ee959a2dcb1388644
[ ] executing: [/Users/jianzhongli/workspace/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +18 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.10.14-307-g2cedd559b
[ +6 ms] executing: [/Users/jianzhongli/workspace/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/master
[ ] executing: [/Users/jianzhongli/workspace/flutter/] git ls-remote --get-url origin
[ +8 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter
[ +41 ms] executing: [/Users/jianzhongli/workspace/flutter/] git rev-parse --abbrev-ref HEAD
[ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] master
[ +4 ms] executing: sw_vers -productName
[ +12 ms] Exit code 0 from: sw_vers -productName
[ ] Mac OS X
[ ] executing: sw_vers -productVersion
[ +12 ms] Exit code 0 from: sw_vers -productVersion
[ ] 10.14.4
[ ] executing: sw_vers -buildVersion
[ +12 ms] Exit code 0 from: sw_vers -buildVersion
[ ] 18E2034
[ +23 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +166 ms] Generating
/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/Flutter/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +41 ms] Initializing gradle...
[ ] gradle.properties already sets `android.enableR8`
[ +1 ms] Using gradle from /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/gradlew.
[ +10 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[ +8 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[ ] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/e
xtensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Co
ntents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE\/Contents","
idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":"AndroidStudio3.5"},"WorkingDirectory":"$APP_PACKAGE\/Cont
ents\/bin"},"LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-191.8026.42.35.5900203","CFBundleDevelopmentRegion":"English","CFBundleDocu
mentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"LSTypeIsP
ackage":false,"CFBundleTypeName":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns
","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.5","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","LSRequir
esNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundl
eIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumS
ystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8026.42.35.5900203. Copyright JetBrains s.r.o., (c) 2000-2019"}
[ +7 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +56 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ ] openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[ +2 ms] executing: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/gradlew -v
[ +339 ms]
------------------------------------------------------------
Gradle 5.6.2
------------------------------------------------------------
Build time: 2019-09-05 16:13:54 UTC
Revision: 55a5e53d855db8fc7b0e494412fc624051a8e781
Kotlin: 1.3.41
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM: 1.8.0_202-release (JetBrains s.r.o 25.202-b49-5587405)
OS: Mac OS X 10.14.4 x86_64
[ +8 ms] Initializing gradle... (completed in 0.4s)
[ ] Resolving dependencies...
[ ] executing: [/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/]
/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/gradlew app:properties
[ +532 ms] Configuration on demand is an incubating feature.
> Task :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
INTERNAL__CHECKED_MINIMUM_PLUGIN_VERSIONS: true
_internalAndroidGradlePluginDependencyCheckerRegistered: true
allprojects: [project ':app']
android: com.android.build.gradle.internal.dsl.BaseAppModuleExtension_Decorated@380e31e
android.enableR8: true
ant: org.gradle.api.internal.project.DefaultAntBuilder@226ace2c
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@52d7a9e0
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@491d0ffe
asDynamicObject: DynamicObject for project ':app'
autoTargetJvmDisabled: false
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@4d019dd0
buildDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host
buildFile: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/app/build.gradle
buildOutputs: BaseVariantOutput container
buildPath: :
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@396e21f2
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@56991796
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@77da8044
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@36747c72
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@7e5daaff
configurations: configuration container
convention: org.gradle.api.internal.plugins.DefaultConvention@60e62705
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@439d43fd
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@569f3010
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@4506726e
dependencyLocking: org.gradle.internal.locking.DefaultDependencyLockingHandler_Decorated@1409abc4
depth: 1
description: null
displayName: project ':app'
distsDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/distributions
distsDirName: distributions
docsDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/docs
docsDirName: docs
ext: org.gradle.internal.extensibility.DefaultExtraPropertiesExtension@3d229013
extensions: org.gradle.api.internal.plugins.DefaultConvention@60e62705
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@12123817
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@64f1ad39
gradle: build 'android_generated'
group: android_generated
identityPath: :app
inheritedScope: org.gradle.internal.extensibility.ExtensibleDynamicObject$InheritedDynamicObject@3d7f7de8
java: org.gradle.api.plugins.internal.DefaultJavaPluginExtension_Decorated@14f4c05c
layout: org.gradle.api.internal.file.DefaultProjectLayout@17a58055
libsDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/libs
libsDirName: libs
listenerBuildOperationDecorator: org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator@7ed47ffd
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@43cd6af8
logging: org.gradle.internal.logging.services.DefaultLoggingManager@3802cdf2
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@ac60c8e
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@3e4b374b
module: org.gradle.api.internal.artifacts.ProjectBackedModule@6c674bd
mutationState: project :app
name: app
ndk.path: /Users/jianzhongli/Library/Android/sdk/ndk-bundle
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@315a92ab
objects: org.gradle.api.internal.model.DefaultObjectFactory@6c2c38ea
org.gradle.configureondemand: true
org.gradle.daemon: true
org.gradle.jvmargs: -Xmx1536M
org.gradle.parallel: true
parent: root project 'android_generated'
parentIdentifier: root project 'android_generated'
path: :app
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@42ef15c0
plugins: [org.gradle.api.plugins.HelpTasksPlugin@78f7c36f, org.gradle.buildinit.plugins.BuildInitPlugin@1d5dd910,
org.gradle.buildinit.plugins.WrapperPlugin@103b4939, com.android.build.gradle.api.AndroidBasePlugin@2a401feb,
org.gradle.language.base.plugins.LifecycleBasePlugin@6cea4d77, org.gradle.api.plugins.BasePlugin@1f0c8ca3,
org.gradle.api.plugins.ReportingBasePlugin@55b47cfa, org.gradle.api.plugins.JavaBasePlugin@7f219ee0,
com.android.build.gradle.AppPlugin@419ef586]
processDebugManifest: task ':app:processDebugManifest'
processOperations: org.gradle.process.internal.DefaultExecActionFactory$DecoratingExecActionFactory@3a8c1082
processProfileManifest: task ':app:processProfileManifest'
processReleaseManifest: task ':app:processReleaseManifest'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@4ca9f885
projectDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@3f8ca96e
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@98859dc
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@36a07967
publicType: org.gradle.api.plugins.BasePluginConvention
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@535a506f
reportsDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/reports
repositories: repository container
resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@50b4f751
resources: org.gradle.api.internal.resources.DefaultResourceHandler@a29e3f0
rootDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android
rootProject: root project 'android_generated'
script: false
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@41241dd0
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@40fce4b3
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@37059d82
services: ProjectScopeServices
sourceCompatibility: 1.8
sourceSets: SourceSet container
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@3802cdf2
state: project state 'EXECUTED'
status: integration
subprojects: []
systemProp.http.proxyHost: web-proxy.tencent.com
systemProp.http.proxyPort: 8080
systemProp.https.proxyHost: web-proxy.tencent.com
systemProp.https.proxyPort: 8080
targetCompatibility: 1.8
tasks: task set
testReportDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/reports/tests
testReportDirName: tests
testResultsDir: /Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host/test-results
testResultsDirName: test-results
version: unspecified
BUILD SUCCESSFUL in 439ms
1 actionable task: 1 executed
[ +2 ms] executing: [/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/]
/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/gradlew app:tasks --all --console=auto
[ +545 ms] Configuration on demand is an incubating feature.
> Task :app:tasks
------------------------------------------------------------
Tasks runnable from project :app
------------------------------------------------------------
Android tasks
-------------
androidDependencies - Displays the Android dependencies of the project.
signingReport - Displays the signing info for the base and test modules
sourceSets - Prints out all the source sets defined in this project.
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.
clean - Deletes the build directory.
cleanBuildCache - Deletes the build cache directory.
compileDebugAndroidTestSources
compileDebugSources
compileDebugUnitTestSources
compileProfileSources
compileProfileUnitTestSources
compileReleaseSources
compileReleaseUnitTestSources
Cleanup tasks
-------------
lintFix - Runs lint on all variants and applies any safe suggestions to the source code.
Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in project ':app'.
components - Displays the components produced by project ':app'. [incubating]
dependencies - Displays all dependencies declared in project ':app'.
dependencyInsight - Displays the insight into a specific dependency in project ':app'.
dependentComponents - Displays the dependent components of components in project ':app'. [incubating]
help - Displays a help message.
model - Displays the configuration model of project ':app'. [incubating]
projects - Displays the sub-projects of project ':app'.
properties - Displays the properties of project ':app'.
tasks - Displays the tasks runnable from project ':app'.
Install tasks
-------------
installDebug - Installs the Debug build.
installDebugAndroidTest - Installs the android (on device) tests for the Debug build.
installProfile - Installs the Profile build.
installRelease - Installs the Release build.
uninstallAll - Uninstall all applications.
uninstallDebug - Uninstalls the Debug build.
uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug build.
uninstallProfile - Uninstalls the Profile build.
uninstallRelease - Uninstalls the Release build.
Verification tasks
------------------
check - Runs all checks.
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDebugAndroidTest - Installs and runs the tests for debug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on all variants.
lintDebug - Runs lint on the Debug build.
lintProfile - Runs lint on the Profile build.
lintRelease - Runs lint on the Release build.
lintVitalRelease - Runs lint on just the fatal issues in the release build.
test - Run unit tests for all variants.
testDebugUnitTest - Run unit tests for the debug build.
testProfileUnitTest - Run unit tests for the profile build.
testReleaseUnitTest - Run unit tests for the release build.
Other tasks
-----------
assembleDebug - Assembles main output for variant debug
assembleDebugAndroidTest - Assembles main output for variant debugAndroidTest
assembleDebugUnitTest - Assembles main output for variant debugUnitTest
assembleProfile - Assembles main output for variant profile
assembleProfileUnitTest - Assembles main output for variant profileUnitTest
assembleRelease - Assembles main output for variant release
assembleReleaseUnitTest - Assembles main output for variant releaseUnitTest
buildDebugPreBundle
buildProfilePreBundle
buildReleasePreBundle
bundleDebug - Assembles bundle for variant debug
bundleDebugAndroidTestClasses
bundleDebugAndroidTestResources
bundleDebugClasses
bundleDebugResources
bundleDebugUnitTestClasses
bundleProfile - Assembles bundle for variant profile
bundleProfileClasses
bundleProfileResources
bundleProfileUnitTestClasses
bundleRelease - Assembles bundle for variant release
bundleReleaseClasses
bundleReleaseResources
bundleReleaseUnitTestClasses
checkDebugAndroidTestDuplicateClasses
checkDebugDuplicateClasses
checkDebugManifest
checkProfileDuplicateClasses
checkProfileManifest
checkReleaseDuplicateClasses
checkReleaseManifest
collectDebugDependencies
collectProfileDependencies
collectReleaseDependencies
compileDebugAidl
compileDebugAndroidTestAidl
compileDebugAndroidTestJavaWithJavac
compileDebugAndroidTestRenderscript
compileDebugAndroidTestShaders
compileDebugJavaWithJavac
compileDebugRenderscript
compileDebugShaders
compileDebugUnitTestJavaWithJavac
compileLint
compileProfileAidl
compileProfileJavaWithJavac
compileProfileRenderscript
compileProfileShaders
compileProfileUnitTestJavaWithJavac
compileReleaseAidl
compileReleaseJavaWithJavac
compileReleaseRenderscript
compileReleaseShaders
compileReleaseUnitTestJavaWithJavac
configureDebugDependencies
configureProfileDependencies
configureReleaseDependencies
consumeConfigAttr
createDebugCompatibleScreenManifests
createMockableJar
createProfileCompatibleScreenManifests
createReleaseCompatibleScreenManifests
desugarDebugAndroidTestFileDependencies
desugarDebugFileDependencies
desugarProfileFileDependencies
desugarReleaseFileDependencies
dummydebugUnitTest
dummyprofileUnitTest
dummyreleaseUnitTest
extractApksForDebug
extractApksForProfile
extractApksForRelease
extractProguardFiles
generateDebugAndroidTestAssets
generateDebugAndroidTestBuildConfig
generateDebugAndroidTestResources
generateDebugAndroidTestResValues
generateDebugAndroidTestSources
generateDebugAssets
generateDebugBuildConfig
generateDebugFeatureMetadata
generateDebugFeatureTransitiveDeps
generateDebugResources
generateDebugResValues
generateDebugSources
generateDebugUnitTestAssets
generateDebugUnitTestResources
generateDebugUnitTestSources
generateProfileAssets
generateProfileBuildConfig
generateProfileFeatureMetadata
generateProfileFeatureTransitiveDeps
generateProfileResources
generateProfileResValues
generateProfileSources
generateProfileUnitTestAssets
generateProfileUnitTestResources
generateProfileUnitTestSources
generateReleaseAssets
generateReleaseBuildConfig
generateReleaseFeatureMetadata
generateReleaseFeatureTransitiveDeps
generateReleaseResources
generateReleaseResValues
generateReleaseSources
generateReleaseUnitTestAssets
generateReleaseUnitTestResources
generateReleaseUnitTestSources
javaPreCompileDebug
javaPreCompileDebugAndroidTest
javaPreCompileDebugUnitTest
javaPreCompileProfile
javaPreCompileProfileUnitTest
javaPreCompileRelease
javaPreCompileReleaseUnitTest
mainApkListPersistenceDebug
mainApkListPersistenceDebugAndroidTest
mainApkListPersistenceProfile
mainApkListPersistenceRelease
makeApkFromBundleForDebug
makeApkFromBundleForProfile
makeApkFromBundleForRelease
mergeDebugAndroidTestAssets
mergeDebugAndroidTestGeneratedProguardFiles
mergeDebugAndroidTestJavaResource
mergeDebugAndroidTestJniLibFolders
mergeDebugAndroidTestNativeLibs
mergeDebugAndroidTestResources
mergeDebugAndroidTestShaders
mergeDebugAssets
mergeDebugGeneratedProguardFiles
mergeDebugJavaResource
mergeDebugJniLibFolders
mergeDebugNativeLibs
mergeDebugResources
mergeDebugShaders
mergeDexDebug
mergeDexDebugAndroidTest
mergeDexProfile
mergeDexRelease
mergeExtDexDebug
mergeExtDexDebugAndroidTest
mergeExtDexProfile
mergeExtDexRelease
mergeProfileAssets
mergeProfileGeneratedProguardFiles
mergeProfileJavaResource
mergeProfileJniLibFolders
mergeProfileNativeLibs
mergeProfileResources
mergeProfileShaders
mergeReleaseAssets
mergeReleaseGeneratedProguardFiles
mergeReleaseJavaResource
mergeReleaseJniLibFolders
mergeReleaseNativeLibs
mergeReleaseResources
mergeReleaseShaders
packageDebug
packageDebugAndroidTest
packageDebugBundle
packageDebugUniversalApk
packageProfile
packageProfileBundle
packageProfileUniversalApk
packageRelease
packageReleaseBundle
packageReleaseUniversalApk
preBuild
preDebugAndroidTestBuild
preDebugBuild
preDebugUnitTestBuild
prepareKotlinBuildScriptModel
prepareLintJar
prepareLintJarForPublish
preProfileBuild
preProfileUnitTestBuild
preReleaseBuild
preReleaseUnitTestBuild
processDebugAndroidTestJavaRes
processDebugAndroidTestManifest
processDebugAndroidTestResources
processDebugJavaRes
processDebugManifest
processDebugResources
processDebugUnitTestJavaRes
processProfileJavaRes
processProfileManifest
processProfileResources
processProfileUnitTestJavaRes
processReleaseJavaRes
processReleaseManifest
processReleaseResources
processReleaseUnitTestJavaRes
reportBuildArtifactsDebug
reportBuildArtifactsProfile
reportBuildArtifactsRelease
reportSourceSetTransformAndroidTest
reportSourceSetTransformAndroidTestDebug
reportSourceSetTransformDebug
reportSourceSetTransformMain
reportSourceSetTransformProfile
reportSourceSetTransformRelease
reportSourceSetTransformTest
reportSourceSetTransformTestDebug
reportSourceSetTransformTestProfile
reportSourceSetTransformTestRelease
resolveConfigAttr
signDebugBundle
signingConfigWriterDebug
signingConfigWriterDebugAndroidTest
signingConfigWriterProfile
signingConfigWriterRelease
signProfileBundle
signReleaseBundle
stripDebugDebugSymbols
stripProfileDebugSymbols
stripReleaseDebugSymbols
transformClassesWithDexBuilderForDebug
transformClassesWithDexBuilderForDebugAndroidTest
transformClassesWithDexBuilderForProfile
transformClassesWithDexBuilderForRelease
validateSigningDebug
validateSigningDebugAndroidTest
validateSigningProfile
validateSigningRelease
writeDebugApplicationId
writeDebugModuleMetadata
writeProfileApplicationId
writeProfileModuleMetadata
writeReleaseApplicationId
writeReleaseModuleMetadata
Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
BUILD SUCCESSFUL in 454ms
1 actionable task: 1 executed
[ +5 ms] Resolving dependencies... (completed in 1.1s)
[ ] Running Gradle task 'assembleAarRelease'...
[ +2 ms] executing: [/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/]
/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/.android/gradlew
-I=/Users/jianzhongli/workspace/flutter/packages/flutter_tools/gradle/aar_init_script.gradle -Pflutter-root=/Users/jianzhongli/workspace/flutter
-Poutput-dir=/Users/jianzhongli/workspace/PTS2/PTS2-Flutter/pts/build/host -Pis-plugin=false
-Ptarget-platform=android-arm,android-arm64,android-x64 assembleAarRelease
[ +518 ms] Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleAarRelease' not found in root project 'android_generated'. Some candidates are: 'assembleRelease'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 423ms
[ ] Running Gradle task 'assembleAarRelease'... (completed in 0.5s)
[ +1 ms] Configuration on demand is an incubating feature.
[ ]
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleAarRelease' not found in root project 'android_generated'. Some candidates are: 'assembleRelease'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 423ms
[ +7 ms] "flutter aar" took 2,348ms.
Gradle task assembleAarRelease failed with exit code 0.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 buildGradleAar (package:flutter_tools/src/android/gradle.dart:689:5)
#2 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#3 _rootRunUnary (dart:async/zone.dart:1132:38)
#4 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#5 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#7 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#8 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#11 _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart)
#12 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#13 _rootRunUnary (dart:async/zone.dart:1132:38)
#14 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#15 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#16 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#17 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#18 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#19 Future.wait.<anonymous closure> (dart:async/future.dart:398:22)
#20 _rootRunUnary (dart:async/zone.dart:1132:38)
#21 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#22 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#23 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#24 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#25 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#26 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#27 _rootRun (dart:async/zone.dart:1124:13)
#28 _CustomZone.run (dart:async/zone.dart:1021:19)
#29 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#30 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#31 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#32 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#33 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#34 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment