android - what does this error means? -
android - what does this error means? -
i got lots of crashes on lots of devices on device(lg p920) works fine. below study goggle play app crashed , got 6 reports. way utilize sql pre created database.and created android_metadata table , locale en_us inserted database.
this stack traces:
android.database.sqlite.sqlitediskioexception: disk i/o error @ android.database.sqlite.sqlitedatabase.native_setlocale(native method) @ android.database.sqlite.sqlitedatabase.setlocale(sqlitedatabase.java:2074) @ android.database.sqlite.sqlitedatabase.opendatabase(sqlitedatabase.java:1014) @ android.database.sqlite.sqlitedatabase.opendatabase(sqlitedatabase.java:986) @ android.database.sqlite.sqlitedatabase.opendatabase(sqlitedatabase.java:962) @ offline.sinhaladic.com.mainactivity.sugen(mainactivity.java:1312) @ offline.sinhaladic.com.mainactivity$7.aftertextchanged(mainactivity.java:972) @ android.widget.textview.sendaftertextchanged(textview.java:7665) @ android.widget.textview$changewatcher.aftertextchanged(textview.java:8067) @ android.text.spannablestringbuilder.sendtexthaschanged(spannablestringbuilder.java:900) @ android.text.spannablestringbuilder.change(spannablestringbuilder.java:353) @ android.text.spannablestringbuilder.change(spannablestringbuilder.java:266) @ android.text.spannablestringbuilder.replace(spannablestringbuilder.java:443) @ android.text.spannablestringbuilder.replace(spannablestringbuilder.java:420) @ android.text.spannablestringbuilder.replace(spannablestringbuilder.java:29) @ android.view.inputmethod.baseinputconnection.replacetext(baseinputconnection.java:663) @ android.view.inputmethod.baseinputconnection.setcomposingtext(baseinputconnection.java:425) @ com.android.internal.view.iinputconnectionwrapper.executemessage(iinputconnectionwrapper.java:333) @ com.android.internal.view.iinputconnectionwrapper$myhandler.handlemessage(iinputconnectionwrapper.java:77) @ android.os.handler.dispatchmessage(handler.java:99) @ android.os.looper.loop(looper.java:137) @ android.app.activitythread.main(activitythread.java:4424) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:511) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:784) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:551) @ dalvik.system.nativestart.main(native method)
reference : http://stackoverflow.com/a/4828540/1318946
one thought popped hard coded path database file located. db_path = “/data/data/your_package/databases/”;
i guess possible path isn’t valid on android 2.2.1 want hd. exchanged path with: environment.getdatadirectory() + “/data/your_package/databases/” + db_name;
i’ll seek pin point issue when had chance test on actual phone myself. if test solution, please allow me know if solves it.
android android-sqlite logcat android-debug
Comments
Post a Comment