Flutter starting help

310 views
Skip to first unread message

potato gaming

unread,
Jun 15, 2021, 12:56:36 AM6/15/21
to Flutter Development (flutter-dev)
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.mapbox.navigation:ui:1.2.0.
     Required by:
         project :app > project :flutter_mapbox_navigation
      > Could not resolve com.mapbox.navigation:ui:1.2.0.
            > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.2.0/ui-1.2.0.pom'. Received status code 401 from server: Unauthorized

* Try:
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 3m 13s
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                       195.1s
Exception: Gradle task assembleDebug failed with exit code 1

potato gaming

unread,
Jun 15, 2021, 1:03:41 AM6/15/21
to Flutter Development (flutter-dev)
PS D:\projects\pmobile> flutter run --verbose
[  +58 ms] executing: [D:\projects\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +361 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] executing: [D:\projects\flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[  +35 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[   +1 ms] 2.2.2
[   +5 ms] executing: [D:\projects\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [D:\projects\flutter/] git ls-remote --get-url origin
[  +26 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +95 ms] executing: [D:\projects\flutter/] git rev-parse --abbrev-ref HEAD
[  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +74 ms] 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.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +49 ms] executing: C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +35 ms] List of devices attached
           98862738454e433231     device product:heroltexx model:SM_G930F device:herolte transport_id:1
[   +5 ms] C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 98862738454e433231 shell getprop
[ +104 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 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.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +76 ms] Skipping pub get: version match.
[  +24 ms] Found plugin barcode_scan at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan-3.0.1\
[   +4 ms] Found plugin barcode_scan_fix at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan_fix-1.0.2\
[  +21 ms] Found plugin flutter_barcode_scanner at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.2\
[   +5 ms] Found plugin flutter_full_pdf_viewer at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_full_pdf_viewer-1.0.6\
[   +4 ms] Found plugin flutter_keyboard_visibility at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_keyboard_visibility-4.0.6\
[   +4 ms] Found plugin flutter_keyboard_visibility_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_keyboard_visibility_web-1.0.1\
[   +2 ms] Found plugin flutter_mapbox_navigation at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_mapbox_navigation-0.0.24\
[   +1 ms] Found plugin flutter_pdfview at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_pdfview-1.1.0\
[   +2 ms] Found plugin flutter_plugin_android_lifecycle at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[   +4 ms] Found plugin fluttertoast at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\fluttertoast-7.1.8\
[   +3 ms] Found plugin geocoder at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geocoder-0.2.1\
[   +1 ms] Found plugin geocoding at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geocoding-1.0.5\
[   +3 ms] Found plugin geolocator at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.3.2+2\
[   +2 ms] Found plugin google_api_availability at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\
[   +1 ms] Found plugin google_api_headers at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_headers-0.1.1+2\
[   +3 ms] Found plugin google_maps_flutter at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-1.2.0\
[   +7 ms] Found plugin image_gallery_saver at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\image_gallery_saver-1.6.9\
[   +1 ms] Found plugin image_picker at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[   +9 ms] Found plugin location at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.5.4\
[   +3 ms] Found plugin location_permissions at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-3.0.0+1\
[   +6 ms] Found plugin open_file at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\open_file-3.2.1\
[   +3 ms] Found plugin package_info at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.3+4\
[   +7 ms] Found plugin path_provider at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[   +2 ms] Found plugin path_provider_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[   +2 ms] Found plugin path_provider_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[   +2 ms] Found plugin path_provider_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[   +4 ms] Found plugin pdf_image_renderer at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\pdf_image_renderer-0.3.2\
[   +1 ms] Found plugin permission_handler at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-5.1.0+2\
[   +5 ms] Found plugin plugin_scaffold at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\plugin_scaffold-3.1.0\
[   +9 ms] Found plugin scan_preview at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\scan_preview-1.0.2\
[   +5 ms] Found plugin shared_preferences at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[   +1 ms] Found plugin shared_preferences_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[   +1 ms] Found plugin shared_preferences_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[   +3 ms] Found plugin shared_preferences_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[   +1 ms] Found plugin shared_preferences_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[  +12 ms] Found plugin url_launcher at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[   +1 ms] Found plugin url_launcher_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +1 ms] Found plugin url_launcher_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +3 ms] Found plugin url_launcher_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[   +1 ms] Found plugin url_launcher_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[ +212 ms] Found plugin barcode_scan at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan-3.0.1\
[   +1 ms] Found plugin barcode_scan_fix at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\barcode_scan_fix-1.0.2\
[   +9 ms] Found plugin flutter_barcode_scanner at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.2\
[   +3 ms] Found plugin flutter_full_pdf_viewer at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_full_pdf_viewer-1.0.6\
[   +1 ms] Found plugin flutter_keyboard_visibility at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_keyboard_visibility-4.0.6\
[   +1 ms] Found plugin flutter_keyboard_visibility_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_keyboard_visibility_web-1.0.1\
[        ] Found plugin flutter_mapbox_navigation at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_mapbox_navigation-0.0.24\
[   +1 ms] Found plugin flutter_pdfview at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_pdfview-1.1.0\
[   +1 ms] Found plugin flutter_plugin_android_lifecycle at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[   +2 ms] Found plugin fluttertoast at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\fluttertoast-7.1.8\
[   +1 ms] Found plugin geocoder at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geocoder-0.2.1\
[   +1 ms] Found plugin geocoding at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geocoding-1.0.5\
[   +2 ms] Found plugin geolocator at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\geolocator-5.3.2+2\
[   +1 ms] Found plugin google_api_availability at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\
[   +1 ms] Found plugin google_api_headers at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_api_headers-0.1.1+2\
[   +4 ms] Found plugin google_maps_flutter at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-1.2.0\
[   +3 ms] Found plugin image_gallery_saver at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\image_gallery_saver-1.6.9\
[   +2 ms] Found plugin image_picker at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[   +2 ms] Found plugin location at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\location-2.5.4\
[   +1 ms] Found plugin location_permissions at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\location_permissions-3.0.0+1\
[   +4 ms] Found plugin open_file at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\open_file-3.2.1\
[   +1 ms] Found plugin package_info at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\package_info-0.4.3+4\
[   +3 ms] Found plugin path_provider at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-2.0.2\
[   +1 ms] Found plugin path_provider_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-2.0.0\
[   +1 ms] Found plugin path_provider_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-2.0.0\
[   +1 ms] Found plugin path_provider_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-2.0.1\
[   +2 ms] Found plugin pdf_image_renderer at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\pdf_image_renderer-0.3.2\
[   +1 ms] Found plugin permission_handler at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-5.1.0+2\
[   +2 ms] Found plugin plugin_scaffold at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\plugin_scaffold-3.1.0\
[   +6 ms] Found plugin scan_preview at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\scan_preview-1.0.2\
[   +2 ms] Found plugin shared_preferences at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences-2.0.6\
[   +1 ms] Found plugin shared_preferences_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_linux-2.0.0\
[        ] Found plugin shared_preferences_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_macos-2.0.0\
[   +1 ms] Found plugin shared_preferences_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_web-2.0.0\
[        ] Found plugin shared_preferences_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\shared_preferences_windows-2.0.0\
[   +6 ms] Found plugin url_launcher at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.7.10\
[        ] Found plugin url_launcher_linux at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+4\
[   +1 ms] Found plugin url_launcher_macos at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+9\
[   +2 ms] Found plugin url_launcher_web at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_web-0.1.5+3\
[        ] Found plugin url_launcher_windows at D:\projects\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher_windows-0.0.1+3\
[  +24 ms] Generating D:\projects\pmobile\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +52 ms] ro.hardware = samsungexynos8890
[  +41 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +4 ms] Launching lib\main.dart on SM G930F in debug mode...
[   +4 ms] D:\projects\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\projects\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\projects\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\ASUS\AppData\Local\Temp\flutter_tools.8780ce9a\flutter_tool.2ba41306\app.dill --packages
D:\projects\pmobile\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme      
org-dartlang-root --initialize-from-dill build\3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[  +18 ms] executing: C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 98862738454e433231 shell -x logcat -v time -t 1
[  +15 ms] <- compile package:pmobile/main.dart
[ +157 ms] --------- beginning of system
                    06-15 13:01:56.607 D/ConnectivityService( 3642): filterNetworkStateForUid() uid: 10031 networkInfo: [type: WIFI[] - WIFI, state:
                    CONNECTED/CONNECTED, reason: (unspecified), extra: "PLDTHOMEFIBR90798", failover: false, available: true, roaming: false, metered: false]        
[  +10 ms] executing: C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[  +19 ms] Android Debug Bridge version 1.0.41
           Version 31.0.2-7242960
           Installed as C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\ASUS\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[  +19 ms] Building APK
[  +22 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from D:\projects\pmobile\android\gradlew.bat.
[  +11 ms] executing: D:\programmingstuffs\androidstudio\jre\bin\java -version
[ +116 ms] Exit code 0 from: D:\programmingstuffs\androidstudio\jre\bin\java -version
[        ] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
           OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
[   +1 ms] executing: [D:\projects\pmobile\android/] D:\projects\pmobile\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=D:\projects\pmobile\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +646 ms] Welcome to Gradle 6.7!
[        ] Here are the highlights of this release:
[        ]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[   +1 ms] For more details see https://docs.gradle.org/6.7/release-notes.html
[ +786 ms] > Configure project :barcode_scan
[   +1 ms] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[   +6 ms] The com.google.protobuf plugin was already applied to the project: :barcode_scan and will not be applied again after plugin: android-library
[   +4 ms] WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
[   +2 ms] It will be removed in version 5.0 of the Android Gradle plugin.
[   +3 ms] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[   +1 ms] To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[+4577 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +65 ms] executing: [D:\projects\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [ +403 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [        ] executing: [D:\projects\flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [  +36 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [        ] 2.2.2
[        ] [   +4 ms] executing: [D:\projects\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +24 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [D:\projects\flutter/] git ls-remote --get-url origin
[        ] [  +23 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +48 ms] executing: [D:\projects\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +52 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +106 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +1 ms] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +30 ms] Initializing file store
[        ] [  +20 ms] Done initializing file store
[  +69 ms] [  +50 ms] Skipping target: gen_localizations
[ +599 ms] [ +671 ms] Skipping target: kernel_snapshot
[ +494 ms] [ +423 ms] Skipping target: debug_android_application
[        ] [        ] Persisting file store
[        ] [  +12 ms] Done persisting file store
[        ] [   +7 ms] build succeeded.
[        ] [  +22 ms] "flutter assemble" took 1,362ms.
[ +203 ms] [ +174 ms] ensureAnalyticsSent: 171ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :barcode_scan:preBuild UP-TO-DATE
[        ] > Task :barcode_scan:preDebugBuild UP-TO-DATE
[        ] > Task :barcode_scan:compileDebugAidl NO-SOURCE
[        ] > Task :barcode_scan_fix:preBuild UP-TO-DATE
[   +1 ms] > Task :barcode_scan_fix:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :barcode_scan_fix:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :flutter_barcode_scanner:preBuild UP-TO-DATE
[        ] > Task :flutter_barcode_scanner:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE
[   +2 ms] > Task :flutter_barcode_scanner:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :flutter_full_pdf_viewer:preBuild UP-TO-DATE
[        ] > Task :flutter_full_pdf_viewer:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_full_pdf_viewer:compileDebugAidl NO-SOURCE
[        ] > Task :flutter_keyboard_visibility:preBuild UP-TO-DATE
[        ] > Task :flutter_keyboard_visibility:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_keyboard_visibility:compileDebugAidl NO-SOURCE
[  +23 ms] > Task :flutter_mapbox_navigation:preBuild UP-TO-DATE
[   +1 ms] > Task :flutter_mapbox_navigation:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :flutter_mapbox_navigation:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :flutter_pdfview:preBuild UP-TO-DATE
[        ] > Task :flutter_pdfview:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_pdfview:compileDebugAidl NO-SOURCE
[        ] > Task :fluttertoast:preBuild UP-TO-DATE
[        ] > Task :fluttertoast:preDebugBuild UP-TO-DATE
[        ] > Task :fluttertoast:compileDebugAidl NO-SOURCE
[        ] > Task :geocoder:preBuild UP-TO-DATE
[        ] > Task :geocoder:preDebugBuild UP-TO-DATE
[        ] > Task :geocoder:compileDebugAidl NO-SOURCE
[        ] > Task :geocoding:preBuild UP-TO-DATE
[        ] > Task :geocoding:preDebugBuild UP-TO-DATE
[        ] > Task :url_launcher:preBuild UP-TO-DATE
[        ] > Task :url_launcher:preDebugBuild UP-TO-DATE
[  +39 ms] > Task :url_launcher:compileDebugAidl NO-SOURCE
[        ] > Task :geocoding:compileDebugAidl NO-SOURCE
[        ] > Task :geolocator:preBuild UP-TO-DATE
[        ] > Task :geolocator:preDebugBuild UP-TO-DATE
[        ] > Task :google_api_availability:preBuild UP-TO-DATE
[        ] > Task :google_api_availability:preDebugBuild UP-TO-DATE
[        ] > Task :google_api_availability:compileDebugAidl NO-SOURCE
[        ] > Task :location_permissions:preBuild UP-TO-DATE
[        ] > Task :location_permissions:preDebugBuild UP-TO-DATE
[        ] > Task :location_permissions:compileDebugAidl NO-SOURCE
[        ] > Task :geolocator:compileDebugAidl NO-SOURCE
[        ] > Task :google_api_headers:preBuild UP-TO-DATE
[        ] > Task :google_api_headers:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :package_info:preBuild UP-TO-DATE
[        ] > Task :package_info:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :package_info:compileDebugAidl NO-SOURCE
[        ] > Task :google_api_headers:compileDebugAidl NO-SOURCE
[        ] > Task :google_maps_flutter:preBuild UP-TO-DATE
[   +2 ms] > Task :google_maps_flutter:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :google_maps_flutter:compileDebugAidl NO-SOURCE
[        ] > Task :image_gallery_saver:preBuild UP-TO-DATE
[   +1 ms] > Task :image_gallery_saver:preDebugBuild UP-TO-DATE
[        ] > Task :image_gallery_saver:compileDebugAidl NO-SOURCE
[        ] > Task :image_picker:preBuild UP-TO-DATE
[   +1 ms] > Task :image_picker:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :image_picker:compileDebugAidl NO-SOURCE
[        ] > Task :location:preBuild UP-TO-DATE
[        ] > Task :location:preDebugBuild UP-TO-DATE
[        ] > Task :location:compileDebugAidl NO-SOURCE
[        ] > Task :open_file:preBuild UP-TO-DATE
[        ] > Task :open_file:preDebugBuild UP-TO-DATE
[        ] > Task :open_file:compileDebugAidl NO-SOURCE
[        ] > Task :path_provider:preBuild UP-TO-DATE
[        ] > Task :path_provider:preDebugBuild UP-TO-DATE
[        ] > Task :path_provider:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :pdf_image_renderer:preBuild UP-TO-DATE
[   +1 ms] > Task :pdf_image_renderer:preDebugBuild UP-TO-DATE
[        ] > Task :pdf_image_renderer:compileDebugAidl NO-SOURCE
[        ] > Task :permission_handler:preBuild UP-TO-DATE
[        ] > Task :permission_handler:preDebugBuild UP-TO-DATE
[        ] > Task :permission_handler:compileDebugAidl NO-SOURCE
[        ] > Task :plugin_scaffold:preBuild UP-TO-DATE
[        ] > Task :plugin_scaffold:preDebugBuild UP-TO-DATE
[        ] > Task :plugin_scaffold:compileDebugAidl NO-SOURCE
[        ] > Task :scan_preview:preBuild UP-TO-DATE
[   +3 ms] > Task :scan_preview:preDebugBuild UP-TO-DATE
[        ] > Task :scan_preview:compileDebugAidl NO-SOURCE
[        ] > Task :shared_preferences:preBuild UP-TO-DATE
[        ] > Task :shared_preferences:preDebugBuild UP-TO-DATE
[        ] > Task :shared_preferences:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :barcode_scan:packageDebugRenderscript NO-SOURCE
[   +1 ms] > Task :barcode_scan_fix:packageDebugRenderscript NO-SOURCE
[   +1 ms] > Task :flutter_barcode_scanner:packageDebugRenderscript NO-SOURCE
[        ] > Task :flutter_full_pdf_viewer:packageDebugRenderscript NO-SOURCE
[        ] > Task :flutter_keyboard_visibility:packageDebugRenderscript NO-SOURCE
[   +2 ms] > Task :flutter_mapbox_navigation:packageDebugRenderscript NO-SOURCE
[   +3 ms] > Task :flutter_pdfview:packageDebugRenderscript NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[        ] > Task :fluttertoast:packageDebugRenderscript NO-SOURCE
[        ] > Task :geocoder:packageDebugRenderscript NO-SOURCE
[        ] > Task :geocoding:packageDebugRenderscript NO-SOURCE
[        ] > Task :geolocator:packageDebugRenderscript NO-SOURCE
[        ] > Task :google_api_availability:packageDebugRenderscript NO-SOURCE
[        ] > Task :google_api_headers:packageDebugRenderscript NO-SOURCE
[        ] > Task :google_maps_flutter:packageDebugRenderscript NO-SOURCE
[        ] > Task :image_gallery_saver:packageDebugRenderscript NO-SOURCE
[   +1 ms] > Task :image_picker:packageDebugRenderscript NO-SOURCE
[        ] > Task :location:packageDebugRenderscript NO-SOURCE
[        ] > Task :location_permissions:packageDebugRenderscript NO-SOURCE
[        ] > Task :open_file:packageDebugRenderscript NO-SOURCE
[        ] > Task :package_info:packageDebugRenderscript NO-SOURCE
[        ] > Task :path_provider:packageDebugRenderscript NO-SOURCE
[        ] > Task :pdf_image_renderer:packageDebugRenderscript NO-SOURCE
[        ] > Task :permission_handler:packageDebugRenderscript NO-SOURCE
[        ] > Task :plugin_scaffold:packageDebugRenderscript NO-SOURCE
[        ] > Task :scan_preview:packageDebugRenderscript NO-SOURCE
[        ] > Task :shared_preferences:packageDebugRenderscript NO-SOURCE
[  +50 ms] > Task :url_launcher:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :barcode_scan:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :barcode_scan_fix:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_barcode_scanner:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_full_pdf_viewer:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_keyboard_visibility:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_mapbox_navigation:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_pdfview:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :fluttertoast:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :geocoder:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :geocoding:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :geolocator:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :google_api_availability:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :google_api_headers:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :google_maps_flutter:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :image_gallery_saver:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :image_picker:writeDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :location:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :location_permissions:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :open_file:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :package_info:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :path_provider:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :pdf_image_renderer:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :permission_handler:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :plugin_scaffold:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :scan_preview:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :shared_preferences:writeDebugAarMetadata UP-TO-DATE
[        ] > Task :url_launcher:writeDebugAarMetadata UP-TO-DATE

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/47f8d323-6e91-4902-a22f-616f0780f833n%40googlegroups.com.

potato gaming

unread,
Jun 15, 2021, 1:06:58 AM6/15/21
to Flutter Development (flutter-dev)
[ +296 ms] > Task :app:checkDebugAarMetadata FAILED
[   +1 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[        ] Execution failed for task ':app:checkDebugAarMetadata'.

[        ] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
[        ]    > Could not resolve com.mapbox.navigation:ui:1.2.0.
[        ]      Required by:
[        ]          project :app > project :flutter_mapbox_navigation
[        ]       > Could not resolve com.mapbox.navigation:ui:1.2.0.
[   +1 ms]          > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.2.0/ui-1.2.0.pom'.
[   +1 ms]             > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.2.0/ui-1.2.0.pom'. Received status code 401    
from server: Unauthorized
[   +3 ms] * Try:
[   +2 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.
[   +1 ms] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 37s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 32 actionable tasks: 2 executed, 30 up-to-date
[ +548 ms] Running Gradle task 'assembleDebug'... (completed in 38.6s)
[   +2 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 39,857ms.
[   +5 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>


[ +162 ms] ensureAnalyticsSent: 159ms

[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
Reply all
Reply to author
Forward
0 new messages