

It crashed after D/UploadFragment: getImagePath: setting the image to imageview.

This is the code that capture the image path and set or display the image on the phone screen which I think the problem is here as display by the console log.

Here are some of the code that will be related to the UniversalImageLoader. : Failure delivering result ResultInfo: : ImageLoader must be init with configuration before usingĪt (ActivityThread.java:4089)Īt (ActivityThread.java:4132)Īt .-wrap20(ActivityThread.java)Īt $H.handleMessage(ActivityThread.java:1533)Īt android.os.Handler.dispatchMessage(Handler.java:102)Īt android.os.Looper.loop(Looper.java:154)Īt (ActivityThread.java:6119)Īt .invoke(Native Method)Īt .ZygoteInit$n(ZygoteInit.java:886)Īt .ZygoteInit.main(ZygoteInit.java:776)Ĭaused by: : ImageLoader must be init with configuration before usingĪt .ImageLoader.checkConfiguration(ImageLoader.java:613)Īt .ImageLoader.displayImage(ImageLoader.java:236)Īt .ImageLoader.displayImage(ImageLoader.java:209)Īt .ImageLoader.displayImage(ImageLoader.java:316)Īt .(UniversalImageLoader.java:46)Īt .UploadFragment.getImagePath(UploadFragment.java:31)Īt .SelectPhotoDialog.onActivityResult(SelectPhotoDialog.java:68)Īt 4.(FragmentActivity.java:151)Īt (Activity.java:6932)Īt (ActivityThread.java:4085) I am not sure what happen but here are the logs.ĭ/SelectPhotoDialog: onActivityResult: image uri: content://.documents/document/image%3A77ĭ/UploadFragment: getImagePath: setting the image to imageview I am new to Android Studio development, I am currently using UniversalImageLoader to display my image, but after I choose my image from the gallery, the app will crash.
