# \*Remain unsolved\*Critical Error occured when opening an app with image recognizer and photolibrary

**URL:** <https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959>\
**Category:** Issues / Bugs\
**Tags:** photolibrary, image-recognition\
**Created:** [July 4, 2023, 5:09am UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959 "2023-07-04T05:09:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawhoisingr](https://avatars.discourse-cdn.com/v4/letter/l/51bf81/32.png) [@lawhoisingr](https://community.thunkable.com/u/lawhoisingr)\
**Post date:** [July 4, 2023, 5:09am UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959/1 "2023-07-04T05:09:18Z")

</div>

Recently my Thunkable app, designed for student to complete spams critical error when trying to open using android phone.  
I used to send similar post ([[Solved] Critical Error Occured when opening app with Image recognizer and text and speech](https://community.thunkable.com/t/solved-critical-error-occured-when-opening-app-with-image-recognizer-and-text-and-speech/2489880)) about basically same issue occurs in the demo version, but this time the solution suggested not working on this particular project.  
I have attached my error page in here.

 ![Screenshot_2023-07-04-13-06-07-715_com.thunkable.live](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/6/666506c160998402a1a01bc2389fd10e6c6dab4b.jpeg)  
the proj link is this one:  
[Thunkable](https://x.thunkable.com/copy/53c658bacdd33b857f7ea6d27b1859ee)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 4, 2023, 3:28pm UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959/2 "2023-07-04T15:28:03Z")

</div>

Hello @lawhoisingr  
sorry to hear about your issue  
this time the issue seems to be with the image component, could you please try to delete it and then add it again?

---

<div class="post-metadata">

**Author:** ![lawhoisingr](https://avatars.discourse-cdn.com/v4/letter/l/51bf81/32.png) [@lawhoisingr](https://community.thunkable.com/u/lawhoisingr)\
**Post date:** [July 5, 2023, 2:46am UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959/3 "2023-07-05T02:46:24Z")

</div>

_follow-up_  
Thx for your help, but the same critical error screen still appears only after I delete every single component from the screen (using copy of project). Seems replacing image component cannot solve problem.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [July 5, 2023, 6:19pm UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959/4 "2023-07-05T18:19:53Z")

</div>

Hello @lawhoisingr  
I am sorry that it didn’t work for you.  
I found two things that are causing the app to crash:

- Button’s Width to a specific value inside a Column with Width set to fill the container. To fix that please select fit contents on the Button’s Width.

- The Height of the Row is 5px but the Height of the image inside is 200px. Please increase the Row’s Height.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/remain-unsolved-critical-error-occured-when-opening-an-app-with-image-recognizer-and-photolibrary/2492959/5 "2024-11-08T13:33:41Z")

</div>


