New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Crash #382
Comments
Can you past your stack trace ? |
Happens to me too. App crashes without an error after few image picking. |
I have the same issue - added a quick fix in the comments of #383 . I think those are actually the same issue. |
This doesn't help me either. The example will let me spit out file information, i.e. path, data, etc., but as soon as it is done, the app itself crashes with a "Unfortunately, {Application Name} has stopped." There is no big red screen that spits out the stacktrace. So, unless there is another way to get the stacktrace that you can point me to (I'm still fairly new with react-native), then I'm at a loss. |
|
@yfuks : I get the same crash with the scenario described. Here is the java stacktrace from
|
@yfuks : On the latest version 0.22.14, image selection from gallery works fine. But from camera, I get the following
|
Try not resizing your image or try to allocate more memory to your app |
I also see this behaviour, with react-native 0.0.38, here is my stacktrace
I fixed it by cleaning previous android builds. I went into my
Later builds worked correctly |
In case others run into this issue, I was getting the same error as @thomasvm above ^, while running react-native 0.37.0 and developing my own Android custom component. Turns out, I had an old version of Deleting, or upgrading |
hi Guys, config "react-native": "^0.42.3", options are var options = { |
"react-native": "0.49.3", |
when I take the picture or pick image from gallery and press OK button the app get restarted(without showing any error it goes to first page) |
This issue continues on react-native-image-picker 2.3.1 |
Created your exact example.
First screen, no problem.
Going to the camera and/or file selector no problem.
Escaping out of the camera or file selector view will crash the app.
Taking a picture and selecting from the camera, or selecting a picture from the file selector will crash the app.
This happens both on an emulated and physical device.
The text was updated successfully, but these errors were encountered: