原因:
本人遇到的是因为没有给数据库文件test.db读写的权限,赋权限后即可正常访问
06-14 07:10:27.257: E/SQLiteLog(1316): (14) os_unix.c:30176: (13) open(/data/data/com.example.login/files/test.db) -
06-14 07:10:27.367: E/SQLiteDatabase(1316): Failed to open database '/data/data/com.example.login/files/test.db'.
06-14 07:10:27.367: E/SQLiteDatabase(1316): android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:709)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at com.example.login.LoginActivity.onCreate(LoginActivity.java:33)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.Activity.performCreate(Activity.java:5104)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.os.Handler.dispatchMessage(Handler.java:99)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.os.Looper.loop(Looper.java:137)
06-14 07:10:27.367: E/SQLiteDatabase(1316): at android.app.ActivityThread.main(ActivityThread.java:5039)
相关推荐
启动 httpd:(13)Permission denied: httpd: could not open error log file /home/wwwroot/jb51.net/logs/error_log. Unable to open logs [失败] 三、问题原因 因为新安装的系统,所以SELinux默认是开启状态,...
使用git Bash here闪退并生成mintty.exe.stackdump文件 cmd使用git 报错 fatal:open /dev/null or dup failed: No such file or directory 并弹出mitty.dump文件 使用方法见我的CSDN
win10安装git报错 fatal:open /dev/null or dup failed: No such file or directory错误,将该文件复制到C:\Windows\System32\drivers 替换掉原有的null.sys文件重启即可
fatal: open /dev/null or dup failed: No such file or directory 解决文件
主要介绍了解决Unable to access 'https://gitee.com/自己的项目/': Could not resolve host: gitee.com问题,需要的朋友可以参考下
解决git报错问题Null系统资源文件 fatal: open /dev/null or dup failed: No such file or directory
解决方案 在hadoop的配置文件core-site.xml增加如下配置: hadoop.proxyuser.hc.hosts * hadoop.proxyuser.hc.groups * 其中“hc”是连接beeline的用户。 启动测试 重启hdfs:先stop-all.sh,再start-all.sh,...
解决 java.lang.RuntimeException: Could not generate DH keypair异常处理。 bcprov-ext-jdk15on-1.60、bcprov-jdk15on-1.60两个包放到jre下的$JAVA_HOME/jre/lib/ext的路径下,然后配置$JAVA_HOME/jre/lib/...
百度飞桨遇到的问题,安装cuda不能启动,错误提示importError: Could not find 'cudnn64_7.dll'的解决。将压缩包内的文件对应放入cuda安装位置即可!
11:43 Emulator: [5984]:ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found at D:\AndroidSDK\emulator\lib64\qt\lib 11:43 Emulator: Could not launch 'D:\AndroidSDK\emulator/qemu/...
MyEclipse+hibernate错误:Could not get list of suggested identity strategies from database解决
[INFO] ———————————————————————— [INFO] Reactor Summary for demo 0.0.1-SNAPSHOT: [INFO] [INFO] demo ……………………………………….. FAILURE [18:18 min] [INFO] admin-service ...
本App 采用 MVP RXJava Retrofit OKHttp Material Design Dagger2 Base Glide GreenDao构建,高仿全民直播Android App,欢迎大家Star或Fork。 Gif展示 录制的gif效果有点不清晰,可以下载App查看详情。 下载 扫描...
Git安装成功后 打开报fatal: open /dev/null or dup failed: No such file or directory(解决文件)而且 git Bash闪现-附件资源
Android PANIC Could not openmy_avd.ini完美解决
could not open default font 'fixed' 今天startx的时候不幸出现下面的提示: Could not init font path element unix/:7100, removing from list! Fatal server error: could not open default font 'fixed'
Android Build 时报错: java.io.IOException: Could not parse XML from android/accounts/annotati...Android构建时报错: app:lintVitalRelease[Fatal Error] :3:214: 与元素类型 “item” 相关联的 “name” ...
https://raw.githubusercontent.com/selva86/datasets/master/a10.csv,时间序列分析基本方法和实例相关数据
Original error: Could not transfer artifact org.codehaus.plexus:plexus- archiver:pom:1.0 from/to central (http://repo.maven.apache.org/maven2): connection timed out to ...