How to resolve this Facebook Audience network error causing version upgrade?

After upgrading the Audience Network audience version SDK to version 4.26.0, my application encounters a lot of crashes due to the following, according to the Firebase crash report.

Caused by java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/<app-package-name>/databases/ads.db
android.database.sqlite.SQLiteClosable.acquireReference (SQLiteClosable.java:55)
android.database.sqlite.SQLiteDatabase.endTransaction (SQLiteDatabase.java:568)
com.facebook.ads.internal.e.d$2.a ()
com.facebook.ads.internal.e.d$2.b ()
com.facebook.ads.internal.e.d$1.a ()
com.facebook.ads.internal.e.d$1.doInBackground ()
android.os.AsyncTask$2.call (AsyncTask.java:292)
java.util.concurrent.FutureTask.run (FutureTask.java:237)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587)
java.lang.Thread.run (Thread.java:818)

How can I solve this problem?

+6
source share
1 answer

It looks like this is a bug in 4.26.0 of the Facebook AudienceNetwork SDK. I sent it to Facebook and got the answer they are investigating and takes a lot of time - see https://developers.facebook.com/bugs/213725762497306/

, , , 4.25.0, , ,

IllegalStateException: , 128

4.25.0, .

+3

All Articles