Category : dart

I am using Firebase Phone authentication to login. On my first attempt, I was able to get the OTP code and signin succesfully. However, on the second and subsequent tries, I have been getting the following error: E/AndroidRuntime( 5203): at android.os.Looper.loop(Looper.java:264) E/AndroidRuntime( 5203): at android.app.ActivityThread.main(ActivityThread.java:7510) E/AndroidRuntime( 5203): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 5203): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) E/AndroidRuntime( ..

Read more

I am writing an app with which I want to play sound and record at the same time using flutter. After the recording stopped, I want to store the file as .wav to a folder using the path_provider package (https://pub.dev/packages/path_provider). When I stop the recording, the following function is called: if (!isRecording) return Future<bool>.value(false); print("Stop ..

Read more

I upgraded flutter to the newest version, and then I wasn’t able to build an app on my android phone, it forceshutdown of the project automatically. and these errors occur E/AndroidRuntime(11391): FATAL EXCEPTION: main E/AndroidRuntime(11391): Process: com.example.flutter_apps, PID: 11391 E/AndroidRuntime(11391): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.flutter_apps/com.example.flutter_apps.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/launch_background.xml from drawable resource ID #0x7f040000 E/AndroidRuntime(11391): ..

Read more

I upgraded my flutter to the latest version and since then I have been getting this error. console output of android studio on running flutter build windows this is my flutter doctor output : [√] Flutter (Channel master, 1.24.0-4.0.pre.102, on Microsoft Windows [Version 10.0.19041.572], locale en-US) • Flutter version 1.24.0-4.0.pre.102 at C:srcflutter • Framework revision ..

Read more