-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Description
All the latest flutter plugins assemble, except for firebase_messaging. For that, I have to stay with ^4.0.0+4 Any firebase_messaging: 5.x causes
Gradle task assembleRelease failed with exit code 1
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.267],
locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[√] Android Studio (version 3.4)
[√] Connected device (1 available)
pubspec.yaml snippet
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
animated_text_kit: ^1.3.1
firebase_core: ^0.4.0+8
firebase_auth: ^0.14.0+1
cloud_firestore: ^0.12.9
modal_progress_hud: ^0.1.3
toast: ^0.1.3
image_picker: ^0.6.1+2
firebase_storage: ^3.0.5
geolocator: ^5.1.2
uuid: ^2.0.2
image: ^2.1.4
animator: ^0.1.4
path_provider: ^1.2.0
firebase_messaging: ^5.1.3
timeago: 2.0.17
cached_network_image: ^1.1.1
flutter_svg: ^0.14.0
android/gradle/wrapper/gradle-wrapper.properties
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
android/build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.google.gms:google-services:4.3.0'
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
android/app/src/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.app"
minSdkVersion 21
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation 'androidx.multidex:multidex:2.0.0'
implementation 'com.google.firebase:firebase-core:17.0.0'
}
apply plugin: 'com.google.gms.google-services'
Output of flutter build apk
E:\git\cs\pip\local-mike\pip_mobile_flutter>flutter build apk -v
[ +29 ms] executing: [E:\flutter\] git log -n 1 --pretty=format:%H
[ +69 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 20e59316b8b8474554b38493b8ca888794b0234a
[ ] executing: [E:\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +75 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v1.7.8+hotfix.4-0-g20e59316b
[ +9 ms] executing: [E:\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +46 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [E:\flutter\] git ls-remote --get-url origin
[ +38 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +67 ms] executing: [E:\flutter\] git rev-parse --abbrev-ref HEAD
[ +44 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +36 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +69 ms] Found plugin cloud_firestore at E:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9\
[ +6 ms] Found plugin firebase_auth at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.14.0+1\
[ +2 ms] Found plugin firebase_core at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.0+8\
[ +3 ms] Found plugin firebase_messaging at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-5.1.3\
[ +2 ms] Found plugin firebase_storage at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-3.0.5\
[ +10 ms] Found plugin geolocator at E:\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.1.2\
[ +2 ms] Found plugin google_api_availability at E:\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.1\
[ +5 ms] Found plugin image_picker at E:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.1+2\
[ +1 ms] Found plugin location_permissions at E:\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-2.0.2\
[ +9 ms] Found plugin path_provider at E:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.2.0\
[ +6 ms] Found plugin sqflite at E:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.1.6+3\
[ +80 ms] Found plugin cloud_firestore at E:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.9\
[ +5 ms] Found plugin firebase_auth at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.14.0+1\
[ +1 ms] Found plugin firebase_core at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.0+8\
[ +1 ms] Found plugin firebase_messaging at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-5.1.3\
[ +2 ms] Found plugin firebase_storage at E:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-3.0.5\
[ +6 ms] Found plugin geolocator at E:\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.1.2\
[ +2 ms] Found plugin google_api_availability at E:\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.1\
[ +4 ms] Found plugin image_picker at E:\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.1+2\
[ +1 ms] Found plugin location_permissions at E:\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-2.0.2\
[ +5 ms] Found plugin path_provider at E:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.2.0\
[ +5 ms] Found plugin sqflite at E:\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.1.6+3\
[ +37 ms] You are building a fat APK that includes binaries for android-arm, android-arm64.
[ +1 ms] If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
[ ] To generate an app bundle, run:
[ ] flutter build appbundle --target-platform android-arm,android-arm64
[ ] Learn more on: https://developer.android.com/guide/app-bundle
[ ] To split the APKs per ABI, run:
[ ] flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
[ ] Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
[ +11 ms] Initializing gradle...
[ +1 ms] Using gradle from E:\git\cs\pip\local-mike\pip_mobile_flutter\android\gradlew.bat.
[ +194 ms] executing: E:\git\cs\pip\local-mike\pip_mobile_flutter\android\gradlew.bat -v
[ +461 ms]
------------------------------------------------------------
Gradle 5.1.1
------------------------------------------------------------
Build time: 2019-01-10 23:05:02 UTC
Revision: 3c9abb645fb83932c44e8610642393ad62116807
Kotlin DSL: 1.1.1
Kotlin: 1.3.11
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01)
OS: Windows 10 10.0 amd64
[ +6 ms] Initializing gradle... (completed in 0.7s)
[ +7 ms] Resolving dependencies...
[ ] executing: [E:\git\cs\pip\local-mike\pip_mobile_flutter\android\] E:\git\cs\pip\local-mike\pip_mobile_flutter\android\gradlew.bat app:properties
[+3815 ms]
> Configure project :app
WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
> 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@4b883311
android.enableJetifier: true
android.useAndroidX: true
ant: org.gradle.api.internal.project.DefaultAntBuilder@595601d3
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@7a091fba
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@213d73d3
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2ba7cc5e
buildDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app
buildFile: E:\git\cs\pip\local-mike\pip_mobile_flutter\android\app\build.gradle
buildOutputs: BaseVariantOutput container
buildPath: :
buildScriptSource: org.gradle.groovy.scripts.TextResourceScriptSource@42160860
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@70d02b57
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3a397d75
compileflutterBuildDebugArm: task ':app:compileflutterBuildDebugArm'
compileflutterBuildDebugArm64: task ':app:compileflutterBuildDebugArm64'
compileflutterBuildProfileArm: task ':app:compileflutterBuildProfileArm'
compileflutterBuildProfileArm64: task ':app:compileflutterBuildProfileArm64'
compileflutterBuildReleaseArm: task ':app:compileflutterBuildReleaseArm'
compileflutterBuildReleaseArm64: task ':app:compileflutterBuildReleaseArm64'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@2fe99350
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@5dcedbc5
configurations: configuration container
convention: org.gradle.api.internal.plugins.DefaultConvention@2c35d9b8
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createMockableJar: task ':app:createMockableJar'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@5d96cb9e
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@3e06b06f
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@15bd5499
dependencyLocking: org.gradle.internal.locking.DefaultDependencyLockingHandler_Decorated@1747a78f
depth: 1
description: null
displayName: project ':app'
distsDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\distributions
distsDirName: distributions
docsDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@7ce644c2
extensions: org.gradle.api.internal.plugins.DefaultConvention@2c35d9b8
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@776816f9
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@80e8d11
flutter: FlutterExtension_Decorated@22df3840
googleServices: com.google.gms.googleservices.GoogleServicesPlugin$GoogleServicesPluginConfig_Decorated@6cd1a88d
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5bb9b430
java: org.gradle.api.plugins.internal.DefaultJavaPluginExtension_Decorated@2723dc53
layout: org.gradle.api.internal.file.DefaultProjectLayout@7ce5edcf
libsDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\libs
libsDirName: libs
listenerBuildOperationDecorator: org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator@1d11b71e
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@23a38ab9
logging: org.gradle.internal.logging.services.DefaultLoggingManager@b9f98b8
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugResources: task ':app:mergeDebugResources'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileResources: task ':app:mergeProfileResources'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseResources: task ':app:mergeReleaseResources'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@32e70cdc
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@5ec55c04
module: org.gradle.api.internal.artifacts.ProjectBackedModule@11653a1b
mutationState: project :app
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@613f14da
objects: org.gradle.api.internal.model.DefaultObjectFactory@7106f6a4
org.gradle.jvmargs: -Xmx1536M
packLibsflutterBuildDebug: task ':app:packLibsflutterBuildDebug'
packLibsflutterBuildProfile: task ':app:packLibsflutterBuildProfile'
packLibsflutterBuildRelease: task ':app:packLibsflutterBuildRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@62bea64
plugins: [org.gradle.buildinit.plugins.BuildInitPlugin@ca09791, org.gradle.buildinit.plugins.WrapperPlugin@15a0db1b,
org.gradle.api.plugins.HelpTasksPlugin@53d5bcdd, com.android.build.gradle.api.AndroidBasePlugin@a741409,
org.gradle.language.base.plugins.LifecycleBasePlugin@2e016c9, org.gradle.api.plugins.BasePlugin@118b7d8d,
org.gradle.api.plugins.ReportingBasePlugin@6fc60835, org.gradle.api.plugins.JavaBasePlugin@45b89d98, com.android.build.gradle.AppPlugin@476c9db8,
FlutterPlugin@dc1f7cd, com.google.gms.googleservices.GoogleServicesPlugin@5299d1e0]
processDebugGoogleServices: task ':app:processDebugGoogleServices'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@776816f9
processProfileGoogleServices: task ':app:processProfileGoogleServices'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processReleaseGoogleServices: task ':app:processReleaseGoogleServices'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@534cc276
projectDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@706e14fa
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@7213eaa5
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@377061dc
publicType: org.gradle.api.plugins.BasePluginConvention
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@6e1933d6
reportsDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\reports
repositories: repository container
resourceLoader: org.gradle.internal.resource.transfer.DefaultUriTextResourceLoader@5b730311
resources: org.gradle.api.internal.resources.DefaultResourceHandler@5b3a1541
rootDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\android
rootProject: root project 'android'
script: false
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@36119a41
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@11b198d6
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@52997a7a
services: ProjectScopeServices
sourceCompatibility: 1.8
sourceSets: SourceSet container
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@b9f98b8
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
testReportDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\reports\tests
testReportDirName: tests
testResultsDir: E:\git\cs\pip\local-mike\pip_mobile_flutter\build\app\test-results
testResultsDirName: test-results
version: unspecified
1 actionable task: 1 executed
[ +9 ms] executing: [E:\git\cs\pip\local-mike\pip_mobile_flutter\android\] E:\git\cs\pip\local-mike\pip_mobile_flutter\android\gradlew.bat app:tasks --all --console=auto
[+3851 ms]
> Configure project :app
WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
> 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
compileflutterBuildDebugArm
compileflutterBuildDebugArm64
compileflutterBuildProfileArm
compileflutterBuildProfileArm64
compileflutterBuildReleaseArm
compileflutterBuildReleaseArm64
compileLint
compileProfileAidl
compileProfileJavaWithJavac
compileProfileRenderscript
compileProfileShaders
compileProfileUnitTestJavaWithJavac
compileReleaseAidl
compileReleaseJavaWithJavac
compileReleaseRenderscript
compileReleaseShaders
compileReleaseUnitTestJavaWithJavac
configureDebugDependencies
configureProfileDependencies
configureReleaseDependencies
consumeConfigAttr
copyFlutterAssetsDebug
copyFlutterAssetsProfile
copyFlutterAssetsRelease
createDebugCompatibleScreenManifests
createMockableJar
createProfileCompatibleScreenManifests
createReleaseCompatibleScreenManifests
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
mergeDebugAndroidTestJniLibFolders
mergeDebugAndroidTestResources
mergeDebugAndroidTestShaders
mergeDebugAssets
mergeDebugJniLibFolders
mergeDebugResources
mergeDebugShaders
mergeProfileAssets
mergeProfileJniLibFolders
mergeProfileResources
mergeProfileShaders
mergeReleaseAssets
mergeReleaseJniLibFolders
mergeReleaseResources
mergeReleaseShaders
packageDebug
packageDebugAndroidTest
packageDebugBundle
packageDebugUniversalApk
packageProfile
packageProfileBundle
packageProfileUniversalApk
packageRelease
packageReleaseBundle
packageReleaseUniversalApk
packLibsflutterBuildDebug
packLibsflutterBuildProfile
packLibsflutterBuildRelease
preBuild
preDebugAndroidTestBuild
preDebugBuild
preDebugUnitTestBuild
prepareLintJar
prepareLintJarForPublish
preProfileBuild
preProfileUnitTestBuild
preReleaseBuild
preReleaseUnitTestBuild
processDebugAndroidTestJavaRes
processDebugAndroidTestManifest
processDebugAndroidTestResources
processDebugGoogleServices
processDebugJavaRes
processDebugManifest
processDebugResources
processDebugUnitTestJavaRes
processProfileGoogleServices
processProfileJavaRes
processProfileManifest
processProfileResources
processProfileUnitTestJavaRes
processReleaseGoogleServices
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
transformClassesWithDexBuilderForDebug
transformClassesWithDexBuilderForDebugAndroidTest
transformClassesWithDexBuilderForProfile
transformClassesWithDexBuilderForRelease
transformDexArchiveWithDexMergerForDebug
transformDexArchiveWithDexMergerForDebugAndroidTest
transformDexArchiveWithDexMergerForProfile
transformDexArchiveWithDexMergerForRelease
transformDexArchiveWithExternalLibsDexMergerForDebug
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest
transformDexArchiveWithExternalLibsDexMergerForProfile
transformDexArchiveWithExternalLibsDexMergerForRelease
transformNativeLibsWithMergeJniLibsForDebug
transformNativeLibsWithMergeJniLibsForDebugAndroidTest
transformNativeLibsWithMergeJniLibsForProfile
transformNativeLibsWithMergeJniLibsForRelease
transformResourcesWithMergeJavaResForDebug
transformResourcesWithMergeJavaResForDebugAndroidTest
transformResourcesWithMergeJavaResForDebugUnitTest
transformResourcesWithMergeJavaResForProfile
transformResourcesWithMergeJavaResForProfileUnitTest
transformResourcesWithMergeJavaResForRelease
transformResourcesWithMergeJavaResForReleaseUnitTest
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.
1 actionable task: 1 executed
[ +12 ms] Resolving dependencies... (completed in 7.7s)
[ +1 ms] Running Gradle task 'assembleRelease'...
[ +2 ms] executing: [E:\git\cs\pip\local-mike\pip_mobile_flutter\android\] E:\git\cs\pip\local-mike\pip_mobile_flutter\android\gradlew.bat -Pverbose=true
-Ptarget=lib/main.dart -Ptrack-widget-creation=false -Ptarget-platform=android-arm,android-arm64 assembleRelease
[+3466 ms] > Configure project :app
[ +1 ms] WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
[ ] It will be removed at the end of 2019.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ ] To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[ ] WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
[ ] It will be removed at the end of 2019.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ ] To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[ ] WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
[ +1 ms] It will be removed at the end of 2019.
[ ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[ +1 ms] To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[+9578 ms] Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.firebase, artifactId=firebase-messaging,
version=18.0.0), toArtifact=Artifact(groupId=com.google.firebase, artifactId=firebase-iid), toArtifactVersionString=[18.0.0])
[ +1 ms] *********************************************************
[ ] WARNING: This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX.
[ ] See https://goo.gl/CP92wY for more information on the problem and how to fix it.
[ ] This warning prints for all Android build failures. The real root cause of the error may be unrelated.
[ ] *********************************************************
[ +371 ms] Running Gradle task 'assembleRelease'... (completed in 13.4s)
[ +2 ms] "flutter apk" took 22,140ms.
[ ] "flutter apk" took 22,140ms.
Gradle task assembleRelease failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:507:5)
<asynchronous suspension>
#2 buildGradleProject (package:flutter_tools/src/android/gradle.dart:346:14)
<asynchronous suspension>
#3 buildApk (package:flutter_tools/src/android/apk.dart:34:9)
<asynchronous suspension>
#4 BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:79:11)
<asynchronous suspension>
#5 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:478:18)
<asynchronous suspension>
#6 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:383:33)
<asynchronous suspension>
#7 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#8 _rootRun (dart:async/zone.dart:1124:13)
#9 _CustomZone.run (dart:async/zone.dart:1021:19)
#10 _runZoned (dart:async/zone.dart:1516:10)
#11 runZoned (dart:async/zone.dart:1463:12)
#12 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#13 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:375:20)
#14 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#15 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:396:21)
<asynchronous suspension>
#16 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#17 _rootRun (dart:async/zone.dart:1124:13)
#18 _CustomZone.run (dart:async/zone.dart:1021:19)
#19 _runZoned (dart:async/zone.dart:1516:10)
#20 runZoned (dart:async/zone.dart:1463:12)
#21 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#22 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#23 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#24 new Future.sync (dart:async/future.dart:224:31)
#25 CommandRunner.run (package:args/command_runner.dart:112:14)
#26 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#27 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:22)
<asynchronous suspension>
#28 _rootRun (dart:async/zone.dart:1124:13)
#29 _CustomZone.run (dart:async/zone.dart:1021:19)
#30 _runZoned (dart:async/zone.dart:1516:10)
#31 runZoned (dart:async/zone.dart:1500:12)
#32 run.<anonymous closure> (package:flutter_tools/runner.dart:60:18)
<asynchronous suspension>
#33 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#34 _rootRun (dart:async/zone.dart:1124:13)
#35 _CustomZone.run (dart:async/zone.dart:1021:19)
#36 _runZoned (dart:async/zone.dart:1516:10)
#37 runZoned (dart:async/zone.dart:1463:12)
#38 AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#39 runInContext (package:flutter_tools/src/context_runner.dart:56:24)
<asynchronous suspension>
#40 run (package:flutter_tools/runner.dart:51:10)
#41 main (package:flutter_tools/executable.dart:62:9)
<asynchronous suspension>
#42 main (file:///E:/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#43 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#44 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels