# SQL error when debugging android app

**URL:** <https://discourse.joplinapp.org/t/sql-error-when-debugging-android-app/8774>\
**Category:** Development\
**Created:** [19 May 2020 20:20 UTC](https://discourse.joplinapp.org/t/sql-error-when-debugging-android-app/8774 "2020-05-19T20:20:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [19 May 2020 20:20 UTC](https://discourse.joplinapp.org/t/sql-error-when-debugging-android-app/8774/1 "2020-05-19T20:20:01Z")

</div>

For the last couple of weeks I’ve been having this issue that when I run `react-native run-android` with my device connected Joplin will fail with this error:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/2X/3/3a4637c66b2df79e664fa16f06745cfe6d45fee3.png)

Looks like it occurs when Joplin runs the database upgrade sequence, between versions 4 and 5.

It does not happen every time and the only way to get rid of this it seems is to stop everything, clear Joplin data on device or uninstall the app completely and then try again.

Has anyone else seen this? This is seriously annoying and almost makes me want to give up.

---

_[View the full topic](https://discourse.joplinapp.org/t/sql-error-when-debugging-android-app/8774)._
