Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with an exception. #4495

Closed
imtiaz791 opened this issue Dec 24, 2020 · 6 comments
Closed

Build failed with an exception. #4495

imtiaz791 opened this issue Dec 24, 2020 · 6 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot Stale Issue with no recent activity type: bug Something isn't working

Comments

@imtiaz791
Copy link

imtiaz791 commented Dec 24, 2020

Execution failed for task ':firebase_core:compileDebugJavaWithJavac'.

Here is my flutter run --verbose

Logs
[ +135 ms] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +65 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 51fa704642774c6b6ae64c91642b62801e233e1b
[        ] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git tag --points-at HEAD
[  +52 ms] Exit code 0 from: git tag --points-at HEAD
[   +2 ms] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git describe --match *.*.* --first-parent --long --tags
[  +82 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.23.0-3.0.pre-21-g51fa704642
[  +13 ms] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[        ] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git ls-remote --get-url origin
[  +36 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +82 ms] executing: [D:\flutter_windows_1.17.1-stable\flutter/] git rev-parse --abbrev-ref HEAD
[  +37 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +78 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 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.
[   +1 ms] 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.
[  +92 ms] executing: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +53 ms] List of devices attached
           1509cef3               device product:c5ltezh model:SM_C5000 device:c5ltechn transport_id:1
[   +8 ms] C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe -s 1509cef3 shell getprop
[ +142 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[+1720 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] 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.
[ +156 ms] Found plugin firebase_admob at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_admob-0.10.3\
[  +11 ms] Found plugin firebase_core at C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\
[   +4 ms] Found plugin firebase_core_web at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+1\
[   +8 ms] Found plugin image_gallery_saver at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\image_gallery_saver-1.6.7\
[  +10 ms] Found plugin path_provider at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.24\
[   +7 ms] Found plugin path_provider_linux at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[   +4 ms] Found plugin path_provider_macos at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+6\
[   +5 ms] Found plugin path_provider_windows at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[   +4 ms] Found plugin permission_handler at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-4.4.0+hotfix.4\
[  +13 ms] Found plugin sqflite at C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.1+2\
[ +137 ms] Found plugin firebase_admob at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_admob-0.10.3\
[   +3 ms] Found plugin firebase_core at C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\
[   +4 ms] Found plugin firebase_core_web at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+1\
[   +8 ms] Found plugin image_gallery_saver at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\image_gallery_saver-1.6.7\
[   +6 ms] Found plugin path_provider at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider-1.6.24\
[   +1 ms] Found plugin path_provider_linux at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2\
[   +1 ms] Found plugin path_provider_macos at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+6\
[   +3 ms] Found plugin path_provider_windows at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3\
[   +3 ms] Found plugin permission_handler at
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\permission_handler-4.4.0+hotfix.4\
[  +10 ms] Found plugin sqflite at C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\sqflite-1.3.1+2\
[  +35 ms] Generating C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +39 ms] ro.hardware = qcom
[  +58 ms] Starting incremental build...
[   +3 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +5 ms] Launching lib\main.dart on SM C5000 in debug mode...
[   +6 ms] D:\flutter_windows_1.17.1-stable\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\flutter_windows_1.17.1-stable\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\flutter_windows_1.17.1-stable\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\Imtiaz\AppData\Local\Temp\flutter_tools.4e3c88f1\flutter_tool.456b6b3f\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[  +19 ms] executing: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe -s 1509cef3 shell -x logcat -v time -t 1
[ +142 ms] Exit code 0 from: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe -s 1509cef3 shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of system
           12-24 15:15:16.437 I/ActivityManager( 2116): DSS on for com.samsung.storyservice and scale is 1.0
[   +1 ms] executing: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe -s 1509cef3 shell -x logcat -v time -t 1
[ +123 ms] Exit code 0 from: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe -s 1509cef3 shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
           12-24 15:15:16.569 E/propClient(23859): PropClient failed to load
[  +17 ms] <- compile package:wallpaper/main.dart
[  +16 ms] executing: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +101 ms] Android Debug Bridge version 1.0.41
                    Version 30.0.4-6686687
                    Installed as C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe
[  +18 ms] executing: C:\Users\Imtiaz\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +43 ms] Building APK
[  +25 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] gradle.properties already sets `android.enableR8`
[   +8 ms] Using gradle from C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\android\gradlew.bat.
[   +1 ms] C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +11 ms] executing: [C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\android/] C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm -Ptarget=C:\Users\Imtiaz\AndroidStudioProjects\wallpaper\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
assembleDebug
[+2310 ms] > Configure project :firebase_admob
[   +1 ms] WARNING: The option setting 'android.enableR8=true' is deprecated.
[   +1 ms] It will be removed in version 5.0 of the Android Gradle plugin.
[   +1 ms] You will no longer be able to disable R8
[+2794 ms] > Task :firebase_admob:preBuild UP-TO-DATE
[ +112 ms] > Task :firebase_admob:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :firebase_core:preBuild UP-TO-DATE
[   +1 ms] > Task :firebase_core:preDebugBuild UP-TO-DATE
[        ] > Task :firebase_admob:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :firebase_admob:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :firebase_admob:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :firebase_admob:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :firebase_core:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :firebase_admob:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :firebase_core:packageDebugRenderscript NO-SOURCE
[   +2 ms] > Task :firebase_admob:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :firebase_admob:compileDebugRenderscript NO-SOURCE
[        ] > Task :firebase_admob:generateDebugResValues UP-TO-DATE
[        ] > Task :firebase_admob:generateDebugResources UP-TO-DATE
[  +57 ms] > Task :firebase_admob:packageDebugResources UP-TO-DATE
[   +1 ms] > Task :firebase_admob:parseDebugLocalResources UP-TO-DATE
[        ] > Task :firebase_admob:processDebugManifest UP-TO-DATE
[        ] > Task :firebase_core:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :firebase_core:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :firebase_core:generateDebugResources UP-TO-DATE
[        ] > Task :firebase_core:packageDebugResources UP-TO-DATE
[        ] > Task :firebase_core:parseDebugLocalResources UP-TO-DATE
[        ] > Task :firebase_core:processDebugManifest UP-TO-DATE
[        ] > Task :firebase_core:generateDebugRFile UP-TO-DATE
[        ] > Task :firebase_admob:generateDebugRFile UP-TO-DATE
[        ] > Task :firebase_admob:javaPreCompileDebug UP-TO-DATE
[   +1 ms] > Task :firebase_core:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :firebase_core:javaPreCompileDebug UP-TO-DATE
[ +884 ms] > Task :firebase_core:compileDebugJavaWithJavac FAILED
[  +11 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:14: error: package io.flutter.embedding.engine.plugins does not exist
[   +4 ms] import io.flutter.embedding.engine.plugins.FlutterPlugin;
[        ]                                           ^
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:15: error: package io.flutter.plugin.common does not exist
[   +1 ms] import io.flutter.plugin.common.MethodCall;
[        ]                                ^
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:16: error: package io.flutter.plugin.common does not exist
[   +3 ms] import io.flutter.plugin.common.MethodChannel;
[        ]                                ^
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:17: error: package io.flutter.plugin.common does not exist
[   +1 ms] import io.flutter.plugin.common.PluginRegistry;
[   +1 ms]                                ^
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:29: error: cannot find symbol
[   +2 ms] public class FlutterFirebaseCorePlugin implements FlutterPlugin, MethodChannel.MethodCallHandler {
[   +1 ms]                                                   ^
[   +1 ms]   symbol: class FlutterPlugin
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:29: error: package MethodChannel does not exist
[   +1 ms] public class FlutterFirebaseCorePlugin implements FlutterPlugin, MethodChannel.MethodCallHandler {
[        ]                                                                               ^
[   +3 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:47: error: cannot find symbol
[   +4 ms]   private MethodChannel channel;
[   +1 ms]           ^
[        ]   symbol:   class MethodChannel
[   +4 ms]   location: class FlutterFirebaseCorePlugin
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:71: error: package PluginRegistry does not exist
[   +7 ms]   public static void registerWith(PluginRegistry.Registrar registrar) {
[        ]                                                 ^
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:77: error: cannot find symbol
[   +1 ms]   public void onAttachedToEngine(FlutterPluginBinding binding) {
[        ]                                  ^
[        ]   symbol:   class FlutterPluginBinding
[        ]   location: class FlutterFirebaseCorePlugin
[   +2 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:84: error: cannot find symbol
[   +1 ms]   public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) {
[  +10 ms]                                             ^
[   +9 ms]   symbol:   class FlutterPluginBinding
[        ]   location: class FlutterFirebaseCorePlugin
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:223: error: cannot find symbol
[   +3 ms]   public void onMethodCall(MethodCall call, @NonNull final MethodChannel.Result result) {
[        ]                            ^
[        ]   symbol:   class MethodCall
[        ]   location: class FlutterFirebaseCorePlugin
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:223: error: package MethodChannel does not exist
[  +12 ms]   public void onMethodCall(MethodCall call, @NonNull final MethodChannel.Result result) {
[   +3 ms]                                                                         ^
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:72: error: cannot find symbol
[  +15 ms]     final MethodChannel channel = new MethodChannel(registrar.messenger(), CHANNEL_NAME);
[  +63 ms]           ^
[        ]   symbol:   class MethodChannel
[   +7 ms]   location: class FlutterFirebaseCorePlugin
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:72: error: cannot find symbol
[   +9 ms]     final MethodChannel channel = new MethodChannel(registrar.messenger(), CHANNEL_NAME);
[   +1 ms]                                       ^
[        ]   symbol:   class MethodChannel
[   +2 ms]   location: class FlutterFirebaseCorePlugin
[   +1 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:76: error: method does not override or implement a method from a supertype
[   +1 ms]   @Override
[        ]   ^
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:79: error: cannot find symbol
[   +1 ms]     channel = new MethodChannel(binding.getBinaryMessenger(), CHANNEL_NAME);
[        ]                   ^
[        ]   symbol:   class MethodChannel
[        ]   location: class FlutterFirebaseCorePlugin
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:83: error: method does not override or implement a method from a supertype
[   +1 ms]   @Override
[        ]   ^
[  +13 ms]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:222: error: method does not override or implement a method from a supertype
[   +4 ms]   @Override
[        ]   ^
[        ]
C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.5.3\android\src\main\java\io\flutter\plugins\
firebase\core\FlutterFirebaseCorePlugin.java:226: error: illegal parenthesized expression
[   +1 ms]     switch (call.method) {
[   +1 ms]            ^
[        ] 19 errors
[   +1 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[        ] Execution failed for task ':firebase_core:compileDebugJavaWithJavac'.
[        ] > Compilation failed; see the compiler error output for details.
[        ] * 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 5s
[   +1 ms] 18 actionable tasks: 1 executed, 17 up-to-date
[ +489 ms] Running Gradle task 'assembleDebug'... (completed in 7.0s)
[+6282 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 16,415ms.
[   +4 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:606:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:985:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
           #21     _rootRunUnary (dart:async/zone.dart:1198:47)
           #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #28     _rootRun (dart:async/zone.dart:1190:13)
           #29     _CustomZone.run (dart:async/zone.dart:1093:19)
           #30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
           
           
[ +254 ms] ensureAnalyticsSent: 252ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +4 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1
@SBannah

This comment has been minimized.

@markusaksli-nc
Copy link
Contributor

Hi @imtiaz791
It seems like you are trying to build the app with D:\flutter_windows_1.17.1-stable when it has already been linked with C:\Users\Imtiaz\Downloads\Compressed\flutter_windows_1.20.2-stable\flutter\.pub-cache
Please run flutter clean before trying to build with a different version of Flutter. It is also worth mentioning the both of the stable versions you are using are quite outdated at this point (1.17.1 stable is heavily outdated).
Thank you

@markusaksli-nc markusaksli-nc added blocked: customer-response Waiting for customer response, e.g. more information was requested. type: bug Something isn't working labels Dec 30, 2020
@google-oss-bot
Copy link

Hey @imtiaz791. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label Jan 8, 2021
@google-oss-bot
Copy link

Since there haven't been any recent updates here, I am going to close this issue.

@imtiaz791 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

@imtiaz791
Copy link
Author

imtiaz791 commented Jan 20, 2021 via email

@imtiaz791
Copy link
Author

imtiaz791 commented Jan 20, 2021 via email

@firebase firebase locked and limited conversation to collaborators Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot Stale Issue with no recent activity type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants