Android Studio – Issue running Flutter on Android studio
I am new to flutter and i am trying to compile and run a code from a vendor, but I get the error below. i know its a configuration error but i cant figure it out. can anyone help out?…
I am new to flutter and i am trying to compile and run a code from a vendor, but I get the error below. i know its a configuration error but i cant figure it out. can anyone help out?…
Error Launching lib/main.dart on sdk gphone64 arm64 in debug mode... Running Gradle task 'assembleDebug'... E/flutter ( 6095): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Unable to load asset: assets/ This started happening out of nowhere, after the exception is thrown, the task still runs…
Whenever I try to run flutter app, I am getting this error. ../flutter/.pub-cache/hosted/pub.dartlang.org/percent_indicator-4.2.1/lib/linear_percent_indicator.dart:162:5: Warning: The class 'WidgetsBinding' cannot be null. Try replacing '?.' with '.' WidgetsBinding?.instance.addPostFrameCallback((_) { ^^^^^^^^^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/percent_indicator-4.2.1/lib/linear_percent_indicator.dart:162:30: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is…
I am doing a chat application in flutter. I am only at the beginning, trying to set up Firebase with Flutter. When I add to my pubspec.yaml: (copied from pub.dev) firebase_auth: ^3.3.10 firebase_core: ^1.13.1 I get for both my Android…
I have Installed android SDK without using android studio and kept in c directory
I'm trying to install this http package to my flutter app. But when i perform flutter pub get I get this error: The current Dart SDK version is 2.13.4. Because http 0.13.4 requires SDK version >=2.14.0 <3.0.0 and no versions…
I have updated flutter and dart to latest version. dart --version shows following output: Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "windows_x64" Yet while running pub.get in android studio reports error with older version of…
I have simple flutter app with sqflite db. When I try to run via Android Studio , it gives error as follow: Launching lib/main.dart on iPhone 12 Pro in debug mode... Running pod install... CocoaPods' output: ↳ CDN: trunk Relative…
I'm getting the current error when compiling a project with Geolocator pluggin: C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:29: error: cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { ^ symbol: variable S location: class VERSION_CODES C:srcflutter.pub-cachehostedpub.dartlang.orggeolocator_android-2.0.0androidsrcmainjavacombaseflowgeolocatorlocationLocationMapper.java:30: error: cannot find symbol position.put("is_mocked", location.isMock()); ^ symbol: method isMock()…
I am trying to add images to my flutter app via assets. this is the where i have linked the images. this is the pubspec yaml file Tried different ways. nothing seems to work.