cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace sqlite error on Android

glwoodcock
Newcomer

We have instrumented our Android mobile app using the gradle plug-in:

'com.dynatrace.tools.android:gradle-plugin:8.+'

 

However when running the app, the following errors are shown in the console.

 

E/SQLiteLog: (1032) statement aborts at 26: [INSERT INTO Events...
E/SQLiteDatabase: Error inserting event_segment=...
android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032 SQLITE_READONLY_DBMOVED)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:879)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:88)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1599)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1468)
at com.dynatrace.android.agent.db.EventsDbHelper.insertBatch(EventsDbHelper.java:168)
at com.dynatrace.android.agent.db.DataAccessObject.insertBatchEvents(DataAccessObject.java:49)
at com.dynatrace.android.agent.db.DatabaseWriteQueue.flushQueue(DatabaseWriteQueue.java:73)
at com.dynatrace.android.agent.db.DatabaseWriteQueue.run(DatabaseWriteQueue.java:53)

 

Any advice on how to resolve this would be appreciated. Thank you.

0 REPLIES 0