Advertisement
Ned612

flutter build apk --verbose

Jan 22nd, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.67 KB | None | 0 0
  1. D:\Dropbox\Programming Projects\Flutter\RealmindMe>flutter build apk --verbose
  2. [ +26 ms] executing: [C:\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
  3. [ +65 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
  4. [ ] 27321ebbad34b0a3fafe99fac037102196d655ff
  5. [ +1 ms] executing: [C:\flutter\] git describe --match v*.*.* --first-parent --long --tags
  6. [ +49 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
  7. [ ] v1.12.13+hotfix.5-0-g27321ebba
  8. [ +8 ms] executing: [C:\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
  9. [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
  10. [ ] origin/stable
  11. [ +1 ms] executing: [C:\flutter\] git ls-remote --get-url origin
  12. [ +35 ms] Exit code 0 from: git ls-remote --get-url origin
  13. [ ] https://github.com/flutter/flutter.git
  14. [ +86 ms] executing: [C:\flutter\] git rev-parse --abbrev-ref HEAD
  15. [ +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
  16. [ ] stable
  17. [ +42 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
  18. [ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
  19. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
  20. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
  21. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
  22. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
  23. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
  24. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
  25. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
  26. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
  27. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
  28. [ +91 ms] Found plugin cloud_firestore at C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.11\
  29. [ +19 ms] Found plugin firebase_auth at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.15.3+1\
  30. [ +5 ms] Found plugin firebase_auth_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.1+4\
  31. [ +2 ms] Found plugin firebase_core at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.3+2\
  32. [ +3 ms] Found plugin firebase_core_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
  33. [ +9 ms] Found plugin flutter_local_notifications at C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_local_notifications-0.9.1+3\
  34. [ +12 ms] Found plugin google_sign_in at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.1.1\
  35. [ +4 ms] Found plugin google_sign_in_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.8.3\
  36. [ +21 ms] Found plugin path_provider at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.5.1\
  37. [ +10 ms] Found plugin share at C:\flutter\.pub-cache\hosted\pub.dartlang.org\share-0.6.3+5\
  38. [ +13 ms] Found plugin url_launcher at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.4.1\
  39. [ +1 ms] Found plugin url_launcher_macos at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+2\
  40. [ +3 ms] Found plugin url_launcher_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.0+2\
  41. [ +162 ms] Found plugin cloud_firestore at C:\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.11\
  42. [ +11 ms] Found plugin firebase_auth at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.15.3+1\
  43. [ +3 ms] Found plugin firebase_auth_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.1+4\
  44. [ +1 ms] Found plugin firebase_core at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.3+2\
  45. [ +3 ms] Found plugin firebase_core_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2\
  46. [ +4 ms] Found plugin flutter_local_notifications at C:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_local_notifications-0.9.1+3\
  47. [ +6 ms] Found plugin google_sign_in at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.1.1\
  48. [ +2 ms] Found plugin google_sign_in_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in_web-0.8.3\
  49. [ +11 ms] Found plugin path_provider at C:\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.5.1\
  50. [ +7 ms] Found plugin share at C:\flutter\.pub-cache\hosted\pub.dartlang.org\share-0.6.3+5\
  51. [ +10 ms] Found plugin url_launcher at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.4.1\
  52. [ +1 ms] Found plugin url_launcher_macos at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+2\
  53. [ +1 ms] Found plugin url_launcher_web at C:\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.0+2\
  54. [ +55 ms] Generating D:\Dropbox\Programming Projects\Flutter\MyApp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
  55. [ +47 ms] You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
  56. [ +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.
  57. [ ] To generate an app bundle, run:
  58. [ ] flutter build appbundle --target-platform android-arm,android-arm64,android-x64
  59. [ +1 ms] Learn more on: https://developer.android.com/guide/app-bundle
  60. [ +1 ms] To split the APKs per ABI, run:
  61. [ ] flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
  62. [ ] Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
  63. [ +27 ms] Running Gradle task 'assembleRelease'...
  64. [ +2 ms] gradle.properties already sets `android.enableR8`
  65. [ +4 ms] Using gradle from D:\Dropbox\Programming Projects\Flutter\MyApp\android\gradlew.bat.
  66. [ +12 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
  67. [ +112 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
  68. [ ] openjdk version "1.8.0_202-release"
  69. OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
  70. OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
  71. [ +5 ms] executing: [D:\Dropbox\Programming Projects\Flutter\MyApp\android\] D:\Dropbox\Programming Projects\Flutter\MyApp\android\gradlew.bat -Pverbose=true -Ptarget=lib\main.dart
  72. -Ptrack-widget-creation=true -Pshrink=true -Ptarget-platform=android-arm,android-arm64,android-x64 assembleRelease
  73. [+1099 ms] > Configure project :app
  74. [ +1 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  75. [ +1 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  76. [ +1 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  77. [+12578 ms] FAILURE: Build failed with an exception.
  78. [ +2 ms] * What went wrong:
  79. [ +1 ms] Could not determine the dependencies of task ':app:lintVitalRelease'.
  80. [ +1 ms] > Could not resolve all artifacts for configuration ':app:debugAndroidTestCompileClasspath'.
  81. [ +2 ms] > Could not find androidx.test.ext:junit:1.2.1.
  82. [ +1 ms] Required by:
  83. [ +1 ms] project :app
  84. [ +1 ms] * Try:
  85. [ +1 ms] 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.
  86. [ +1 ms] * Get more help at https://help.gradle.org
  87. [ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
  88. [ +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
  89. [ +1 ms] See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
  90. [ +1 ms] BUILD FAILED in 13s
  91. [ +367 ms] Running Gradle task 'assembleRelease'... (completed in 14.2s)
  92. [ +3 ms] The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
  93. [ +5 ms] Building plugin cloud_firestore...
  94. [ +3 ms] Running Gradle task 'assembleAarRelease'...
  95. [ +6 ms] "flutter apk" took 14,891ms.
  96. The plugin cloud_firestore could not be built due to the issue above.
  97.  
  98. #0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
  99. #1 buildPluginsAsAar (package:flutter_tools/src/android/gradle.dart:726:7)
  100. #2 _asyncErrorWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:80:45)
  101. #3 _rootRunBinary (dart:async/zone.dart:1146:38)
  102. #4 _CustomZone.runBinary (dart:async/zone.dart:1039:19)
  103. #5 _FutureListener.handleError (dart:async/future_impl.dart:153:20)
  104. #6 Future._propagateToListeners.handleError (dart:async/future_impl.dart:692:47)
  105. #7 Future._propagateToListeners (dart:async/future_impl.dart:713:24)
  106. #8 Future._completeError (dart:async/future_impl.dart:532:5)
  107. #9 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:580:7)
  108. #10 _rootRun (dart:async/zone.dart:1126:13)
  109. #11 _CustomZone.run (dart:async/zone.dart:1023:19)
  110. #12 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
  111. #13 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
  112. #14 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
  113. #15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
  114. #16 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
  115. #17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement