Answered

React Native Android Crash When Using Version 7.0.1

  • 18 April 2024
  • 2 replies
  • 20 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)

icon

Best answer by bernice 22 April 2024, 16:10

View original

2 replies

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)

Userlevel 3
Badge +4

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 📌

Reply