Closed amg1983 closed 3 years ago
There's a PR our for review that sounds like it might fix this: https://github.com/flutter/plugins/pull/513.
Same problem here, but different error message:
Seems that https://github.com/flutter/plugins/pull/513 is merged. @amg1983 Is this issue fixed after the patch?
@cyanglaz The issue still exists with 0.5.3:
Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2342, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/images/media/34370/ORIGINAL/NONE/128092117 flg=0x1 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } clip={text/uri-list U:content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F34370/ORIGINAL/NONE/128092117} }} to activity {de.fastic.app/de.fastic.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:4520)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4563)
at android.app.ActivityThread.-wrap22(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1698)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:48)
at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:37)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult(ImagePickerDelegate.java:430)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult(ImagePickerDelegate.java:372)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:351)
at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:222)
at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:143)
at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142)
at android.app.Activity.dispatchActivityResult(Activity.java:7280)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4516)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4563)
at android.app.ActivityThread.-wrap22(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1698)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
Device Info:
Model: Samsung Galaxy A5(2016)
Free RAM: 282.8 MB
Free Space: 1017.56 MB
Android Version: 7.0
[✓] Flutter (Channel master, v1.4.15-pre.3, on Mac OS X 10.14.4 18E226, locale de-DE)
• Flutter version 1.4.15-pre.3
• Framework revision 421f16a6b9 (vor 11 Tagen), 2019-04-09 23:15:18 -0400
• Engine revision 905c571db5
• Dart version 2.2.1 (build 2.2.1-dev.3.1 None)
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution.
Please reopen, see comment above.
Reopening for further investigation.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution.
@cyanglaz the no-response bot closed this issue again :(
@tecbot I tried some of my devices and couldn't reproduce the issue. Is this issue only happening on your Samsung Galaxy A5(2016) or it happens on different devices as well>? Could you provide info for other devices which you experience the issue on?
@cyanglaz Unfortunately , the exception was recored with Firebase Crashlytics from a customer, I can't reproduce it neither with my android test devices. It's also the only device with this exception, currently.
@tecbot I am still waiting to get the test device to reproduce the issue. But I think https://github.com/flutter/plugins/pull/1541 might fix the issue. Could you update the image picker to 0.6.0+1 or apply this patch to see if it fixes your issue?
I eventually got a Samsung Galaxy A5(2016) device and still couldn't reproduce the issue. I am not able to actively work on this recently. I will un-assign myself from this issue. Feel free to pick this up if anyone is interested!
I am getting this issue on 2 Android 10 devices.
The same for me on xiaomi redmi 6a.
Yes I had this crash too on Oneplus 7T with Android 10
Caused by: java.lang.NullPointerException: at io.flutter.plugins.imagepicker.ImageResizer.resizedImage (ImageResizer.java:6) at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded (ImageResizer.java:18) at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult (ImagePickerDelegate.java:49) at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult (ImagePickerDelegate.java:18) at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult (ImagePickerDelegate.java:30) at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:18) at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:6) at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:2)
I am able to reproduce this on my OnePlus 6t. The image I am choosing is a .webp - 696x597 This code works on other images, but crashes 100% of the time when I choose this image.
Flutter Code:
/// Select an image via gallery or camera
Future<void> _pickImage(ImageSource source) async {
File selected = await ImagePicker.pickImage(source: source);
setState(() => _imageFile = selected);
}
Crash:
E/AndroidRuntime(15575): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15575): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
E/AndroidRuntime(15575): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/AndroidRuntime(15575): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
E/AndroidRuntime(15575): at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:52)
E/AndroidRuntime(15575): at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:40)
E/AndroidRuntime(15575): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult(ImagePickerDelegate.java:530)
E/AndroidRuntime(15575): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult(ImagePickerDelegate.java:463)
E/AndroidRuntime(15575): at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:442)
E/AndroidRuntime(15575): at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:204)
E/AndroidRuntime(15575): at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:132)
E/AndroidRuntime(15575): at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142)
E/AndroidRuntime(15575): at android.app.Activity.dispatchActivityResult(Activity.java:7476)
E/AndroidRuntime(15575): at android.app.ActivityThread.deliverResults(ActivityThread.java:4489)
E/AndroidRuntime(15575): ... 11 more
W/OPDiagnose(15575): getService:OPDiagnoseService NULL
D/OSTracker(15575): OS Event: crash
I/Process (15575): Sending signal. PID: 15575 SIG: 9
Lost connection to device.
Exited (sigterm)
And another:
E/BitmapFactory(16868): Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/android/data/com.XXX.XXX/files/Pictures/scaled_nf.webp (No such file or directory)
D/AndroidRuntime(16868): Shutting down VM
E/AndroidRuntime(16868): FATAL EXCEPTION: main
E/AndroidRuntime(16868): Process: com.XXX.XXX, PID: 16868
E/AndroidRuntime(16868): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2342, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:43537 flg=0x1 }} to activity {com.XXX.XXX/com.example.XXX.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
E/AndroidRuntime(16868): at android.app.ActivityThread.deliverResults(ActivityThread.java:4496)
E/AndroidRuntime(16868): at android.app.ActivityThread.handleSendResult(ActivityThread.java:4538)
E/AndroidRuntime(16868): at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
E/AndroidRuntime(16868): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
E/AndroidRuntime(16868): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
E/AndroidRuntime(16868): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1906)
E/AndroidRuntime(16868): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(16868): at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime(16868): at android.app.ActivityThread.main(ActivityThread.java:6863)
E/AndroidRuntime(16868): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16868): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
E/AndroidRuntime(16868): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/AndroidRuntime(16868): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
E/AndroidRuntime(16868): at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:52)
E/AndroidRuntime(16868): at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:40)
E/AndroidRuntime(16868): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult(ImagePickerDelegate.java:530)
E/AndroidRuntime(16868): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult(ImagePickerDelegate.java:463)
E/AndroidRuntime(16868): at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:442)
E/AndroidRuntime(16868): at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:204)
E/AndroidRuntime(16868): at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:132)
E/AndroidRuntime(16868): at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142)
E/AndroidRuntime(16868): at android.app.Activity.dispatchActivityResult(Activity.java:7476)
E/AndroidRuntime(16868): at android.app.ActivityThread.deliverResults(ActivityThread.java:4489)
E/AndroidRuntime(16868): ... 11 more
W/OPDiagnose(16868): getService:OPDiagnoseService NULL
D/OSTracker(16868): OS Event: crash
D/AbstractTracker(16868): Event success
I/Process (16868): Sending signal. PID: 16868 SIG: 9
Lost connection to device.
Exited (sigterm)
I was able to stop the crash by setting the target SDK to 28 from 29
@mustafabhatkar Here are my current SDK targets at android\app\build.gradle:
Hey, I just tried picking up a webp image on my Oneplus 5 running android 9. I didn't get any crash! try using the latest version of the image picker plugin
@mustafabhatkar Thanks for the response. I just updated from image_picker: ^0.6.1+4 to image_picker: ^0.6.1+8. I did a flutter clean and ran it again, but I am still having the same issue.
@mustafabhatkar I read your previous comment completely backwards. So, I just updated the targetSdkVersion to 29 and it seems to be working for now! That same image that was causing the crash before is now working. Thank you so much!
Great! be sure to test it out on android 10, especially on Oneplus 7t. I was facing the crash on this particular device running android 10.
Looks like the same issue is back. Even on API level 29:
E/BitmapFactory( 4480): Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.google.android.gm/cache/39804ef81b6e5a258a35259cef5cd358 (No such file or directory)
D/AndroidRuntime( 4480): Shutting down VM
E/AndroidRuntime( 4480): FATAL EXCEPTION: main
E/AndroidRuntime( 4480): Process: com.xxx.xxx, PID: 4480
E/AndroidRuntime( 4480): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2342, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:43659 flg=0x1 }} to activity {com.xxx.xxx/com.example.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
E/AndroidRuntime( 4480): at android.app.ActivityThread.deliverResults(ActivityThread.java:4496)
E/AndroidRuntime( 4480): at android.app.ActivityThread.handleSendResult(ActivityThread.java:4538)
E/AndroidRuntime( 4480): at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
E/AndroidRuntime( 4480): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
E/AndroidRuntime( 4480): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
E/AndroidRuntime( 4480): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1906)
E/AndroidRuntime( 4480): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 4480): at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 4480): at android.app.ActivityThread.main(ActivityThread.java:6863)
E/AndroidRuntime( 4480): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4480): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
E/AndroidRuntime( 4480): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/AndroidRuntime( 4480): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
E/AndroidRuntime( 4480): at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:52)
E/AndroidRuntime( 4480): at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:40)
E/AndroidRuntime( 4480): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult(ImagePickerDelegate.java:530)
E/AndroidRuntime( 4480): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult(ImagePickerDelegate.java:463)
E/AndroidRuntime( 4480): at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:442)
E/AndroidRuntime( 4480): at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:204)
E/AndroidRuntime( 4480): at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:132)
E/AndroidRuntime( 4480): at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142)
E/AndroidRuntime( 4480): at android.app.Activity.dispatchActivityResult(Activity.java:7476)
E/AndroidRuntime( 4480): at android.app.ActivityThread.deliverResults(ActivityThread.java:4489)
E/AndroidRuntime( 4480): ... 11 more
W/OPDiagnose( 4480): getService:OPDiagnoseService NULL
E/CrashlyticsCore( 4480): Error occurred sending report com.crashlytics.android.core.SessionReport@315e07
D/OSTracker( 4480): OS Event: crash
I/Process ( 4480): Sending signal. PID: 4480 SIG: 9
Lost connection to device.
Exited (sigterm)
Verified this issue using image_picker
plugin example on latest stable and on Samsung S10 device. Selected Google Photos option from drawer menu, selected an image which properly displayed on app screen without any issues. I also tested by providing maxWidth
and maxHeight
as 1024
which worked as expected.
Closing this as not reproducible and probably fixed in latest plugin version. If anybody disagrees, write in comments and I'll reopen it.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to Reproduce
var file = await ImagePicker.pickImage(source: ImageSource.gallery, maxWidth: 1024.0, maxHeight: 1024.0);
Note: everything works normally when I choose a local image
Logs
Run your application with
flutter run
and attach all the log output.logs
```bash V/FA ( 1524): Recording user engagement, ms: 22968 V/FA ( 1524): Connecting to remote service V/FA ( 1524): Activity paused, time: 271476005 D/FA ( 1524): Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=22968, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=1782557962679032650}] V/FA ( 1524): Connection attempt already in progress D/FA ( 1524): Connected to remote service V/FA ( 1524): Processing queued up service tasks: 2 V/FA ( 1524): Activity resumed, time: 271477878 I/FlutterActivityDelegate( 1524): onResume setting current activity to this V/FA ( 1524): Screen exposed for less than 1000 ms. Event not sent. time: 23 V/FA ( 1524): Activity paused, time: 271477900 V/FA ( 1524): Inactivity, disconnecting from the service I/FirebaseAuth( 1524): [FirebaseAuth:] Loading module via FirebaseOptions. I/FirebaseAuth( 1524): [FirebaseAuth:] Preparing to create service connection to gms implementation E/BitmapFactory( 1524): Unable to decode stream: java.lang.NullPointerException D/AndroidRuntime( 1524): Shutting down VM E/AndroidRuntime( 1524): FATAL EXCEPTION: main E/AndroidRuntime( 1524): Process: es.amg.theartistflutter, PID: 1524 E/AndroidRuntime( 1524): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2342, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/1/1/mediakey:/local%3A0716a35f-1297-473e-9232-1bf173874512/ORIGINAL/NONE/1802626355 flg=0x1 clip={text/uri-list U:content://com.google.android.apps.photos.contentprovider/1/1/mediakey%3A%2Flocal%253A0716a35f-1297-473e-9232-1bf173874512/ORIGINAL/NONE/1802626355} }} to activity {es.amg.theartistflutter/es.amg.theartistflutter.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference E/AndroidRuntime( 1524): at android.app.ActivityThread.deliverResults(ActivityThread.java:4268) E/AndroidRuntime( 1524): at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312) E/AndroidRuntime( 1524): at android.app.ActivityThread.-wrap19(Unknown Source:0) E/AndroidRuntime( 1524): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644) E/AndroidRuntime( 1524): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 1524): at android.os.Looper.loop(Looper.java:164) E/AndroidRuntime( 1524): at android.app.ActivityThread.main(ActivityThread.java:6494) E/AndroidRuntime( 1524): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 1524): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) E/AndroidRuntime( 1524): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) E/AndroidRuntime( 1524): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference E/AndroidRuntime( 1524): at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:48) E/AndroidRuntime( 1524): at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:37) E/AndroidRuntime( 1524): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleResult(ImagePickerDelegate.java:262) E/AndroidRuntime( 1524): at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChoosePictureResult(ImagePickerDelegate.java:230) E/AndroidRuntime( 1524): at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:217) E/AndroidRuntime( 1524): at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:194) E/AndroidRuntime( 1524): at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:139) E/AndroidRuntime( 1524): at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:128) E/AndroidRuntime( 1524): at android.app.Activity.dispatchActivityResult(Activity.java:7266) E/AndroidRuntime( 1524): at android.app.ActivityThread.deliverResults(ActivityThread.java:4264) E/AndroidRuntime( 1524): ... 9 more ```Run
flutter analyze
and attach any output of that command also.logs
```bash hint • Unused import: 'dart:math' at lib/data/FirebaseDb.dart:3:8 • unused_import hint • Unused import: 'dart:io' at lib/data/FirebaseDb.dart:13:8 • unused_import hint • Unused import: 'package:the_artist_flutter/views/ArtistView.dart' at lib/main.dart:4:8 • unused_import hint • Unused import: 'package:fluro/fluro.dart' at lib/main.dart:6:8 • unused_import hint • Unused import: 'package:the_artist_flutter/data/FirebaseDb.dart' at lib/models/AppState.dart:3:8 • unused_import hint • The value of the local variable 'photoUrl' isn't used at lib/views/MainView.dart:75:9 • unused_local_variable hint • Unused import: 'package:cached_network_image/cached_network_image.dart' at lib/views/ProfileEditionView.dart:4:8 • unused_import hint • Unused import: 'package:the_artist_flutter/models/Picture.dart' at lib/views/ProfileEditionView.dart:9:8 • unused_import hint • Unused import: 'package:meta/meta.dart' at lib/widgets/CachedImage.dart:4:8 • unused_import 9 issues found. ```Flutter Doctor
Paste the output of running
flutter doctor -v
here.flutter doctor -v
```bash [✓] Flutter (Channel dev, v0.3.2, on Mac OS X 10.13.4 17E199, locale es-ES) • Flutter version 0.3.2 at /Users/antonio/Programming/flutter • Framework revision 44b7e7d3f4 (12 days ago), 2018-04-20 01:02:44 -0700 • Engine revision 09d05a3891 • Dart version 2.0.0-dev.48.0.flutter-fe606f890b [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/antonio/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.4.0 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio 2.app/Contents • Flutter plugin version 24.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 24.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] IntelliJ IDEA Community Edition (version 2018.1.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 23.2.3 • Dart plugin version 181.4445.29 [✓] VS Code • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.11.2 [✓] Connected devices (1 available) • Nexus 6P • ENU5T15B12002052 • android-arm64 • Android 8.1.0 (API 27) • No issues found! ```