React Native Android Crash When Using Version 7.0.1 | Community
Skip to main content
Answered

React Native Android Crash When Using Version 7.0.1

  • April 18, 2024
  • 2 replies
  • 459 views

Hello,

I am using react native 0.72.6 and I followed your documentation. When I start the application on Android, the app directly crashes.

React Native: 0.72.6

Intercom: 7.0.1

Error log;

04-17 20:41:03.757 16506 16565 E AndroidRuntime: FATAL EXCEPTION: WM.task-1
04-17 20:41:03.757 16506 16565 E AndroidRuntime: Process: com.xx.xx, PID: 16506
04-17 20:41:03.757 16506 16565 E AndroidRuntime: java.lang.NoSuchFieldError: No instance field mDelegate of type Landroid/database/sqlite/SQLiteStatement; in class Landroidx/sqlite/db/framework/FrameworkSQLiteStatement; or its superclasses (declaration of 'androidx.sqlite.db.framework.FrameworkSQLiteStatement' appears in /data/app/~~-CoVl2828_OGDZn2i-axfA==/com.xx.xx-4SqgA3KMc2bMy==/base.apk!classes6.dex)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeUpdateDelete(Unknown Source:0)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.model.WorkProgressDao_Impl.deleteAll(WorkProgressDao_Impl.java:103)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.cleanUp(ForceStopRunnable.java:302)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.forceStopRunnable(ForceStopRunnable.java:242)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:134)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

Best answer by bernice

Hi there, @devtool 👋 Have you encountered this error more than once while attempting to run the React Native SDK? We have released another version of the SDK, you’ll find the latest React Native release here 📌

2 replies

  • Author
  • New Participant
  • April 17, 2024

Hello,

I am using react native 0.72.6 and I followed your documentation. When I start the application on Android, the app directly crashes.

React Native: 0.72.6

Intercom: 7.0.1

Error log;

04-17 20:41:03.757 16506 16565 E AndroidRuntime: FATAL EXCEPTION: WM.task-1
04-17 20:41:03.757 16506 16565 E AndroidRuntime: Process: com.xx.xx, PID: 16506
04-17 20:41:03.757 16506 16565 E AndroidRuntime: java.lang.NoSuchFieldError: No instance field mDelegate of type Landroid/database/sqlite/SQLiteStatement; in class Landroidx/sqlite/db/framework/FrameworkSQLiteStatement; or its superclasses (declaration of 'androidx.sqlite.db.framework.FrameworkSQLiteStatement' appears in /data/app/~~-CoVl2828_OGDZn2i-axfA==/com.xx.xx-4SqgA3KMc2bMy==/base.apk!classes6.dex)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeUpdateDelete(Unknown Source:0)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.model.WorkProgressDao_Impl.deleteAll(WorkProgressDao_Impl.java:103)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.cleanUp(ForceStopRunnable.java:302)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.forceStopRunnable(ForceStopRunnable.java:242)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:134)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)
04-17 20:41:03.757 16506 16565 E AndroidRuntime:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)


bernice
Expert User ✨
Forum|alt.badge.img+2
  • Expert User ✨
  • Answer
  • April 22, 2024

Hi there, @devtool 👋 Have you encountered this error more than once while attempting to run the React Native SDK? We have released another version of the SDK, you’ll find the latest React Native release here 📌