Closed MayankChopra12 closed 3 years ago
What Flutter version are you using? We're still at Flutter 1.22.6
What Flutter version are you using? We're still at Flutter
1.22.6
What Flutter version are you using? We're still at Flutter
1.22.6
it is my mistake, I am using 2.2. 1, thanks for reply.
Thanks , it works now
Error - Uri' is from 'dart:core'. http.Response response = await http.get(url); FAILURE: Build failed with an exception.
Where: Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
description - this same error is coming in many files - (main_websocket.dart, start_view.dart, etc)
I am able to solve this error using Uri.parse(string argument) but after that more error is coming.
the error after resolving above error are as following - (A)-- error: FlutterForegroundPlugin() has private access in FlutterForegroundPlugin flutterEngine.getPlugins().add(new changjoopark.com.flutter_foreground_plugin.FlutterForegroundPlugin());
(B)-- Execution failed for task ':app:compileDebugJavaWithJavac'.