摘要:本文将带你了解Android应用开发在Android studio产生如下错误 怎么解决?,希望本文对大家学Android有所帮助。
本文将带你了解Android应用开发在Android studio产生如下错误 怎么解决?,希望本文对大家学Android有所帮助。
06-16 13:43:01.120 6476-6476/course.navigation E/InstantRun: Could not find slices in APK; aborting.
06-16 13:43:01.765 6476-6544/course.navigation E/SQLiteLog: (14) cannot open file at line 30197 of [000197cc4e]
06-16 13:43:01.765 6476-6544/course.navigation E/SQLiteLog: (14) os_unix.c:30197: (2) open(/storage/emulated/0/NaviCourse/data/campus_map.db) -
06-16 13:43:01.770 6476-6544/course.navigation E/SQLiteDatabase: Failed to open database '/storage/emulated/0/NaviCourse/data/campus_map.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)
at course.navigation.GraphOverlay.drawMyMap(GraphOverlay.java:58)
at course.navigation.GraphOverlay$1.run(GraphOverlay.java:49)
at java.lang.Thread.run(Thread.java:841)
06-16 13:43:02.225 6561-6561/course.navigation:remote E/InstantRun: IO Error creating local socket at course.navigation
java.io.IOException: Address already in use
at android.net.LocalSocketImpl.bindLocal(Native Method)
at android.net.LocalSocketImpl.bind(LocalSocketImpl.java:317)
at android.net.LocalServerSocket.(LocalServerSocket.java:52)
at com.android.tools.fd.runtime.Server.(Server.java:94)
at com.android.tools.fd.runtime.Server.create(Server.java:88)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:315)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1009)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4613)
at android.app.ActivityThread.access$1800(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5314)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
at dalvik.system.NativeStart.main(Native Method)
06-16 13:43:08.880 6698-6731/course.navigation E/SQLiteLog: (14) cannot open file at line 30197 of [000197cc4e]
06-16 13:43:08.880 6698-6731/course.navigation E/SQLiteLog: (14) os_unix.c:30197: (2) open(/storage/emulated/0/NaviCourse/data/campus_map.db) -
06-16 13:43:08.885 6698-6731/course.navigation E/SQLiteDatabase: Failed to open database '/storage/emulated/0/NaviCourse/data/campus_map.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)
at course.navigation.GraphOverlay.drawMyMap(GraphOverlay.java:58)
at course.navigation.GraphOverlay$1.run(GraphOverlay.java:49)
at java.lang.Thread.run(Thread.java:841)
06-16 13:43:09.355 6747-6747/course.navigation:remote E/InstantRun: IO Error creating local socket at course.navigation
java.io.IOException: Address already in use
at android.net.LocalSocketImpl.bindLocal(Native Method)
at android.net.LocalSocketImpl.bind(LocalSocketImpl.java:317)
at android.net.LocalServerSocket.(LocalServerSocket.java:52)
at com.android.tools.fd.runtime.Server.(Server.java:94)
at com.android.tools.fd.runtime.Server.create(Server.java:88)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:315)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1009)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4613)
at android.app.ActivityThread.access$1800(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5314)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
at dalvik.system.NativeStart.main(Native Method)
06-16 13:46:20.470 6992-7089/course.navigation E/SQLiteLog: (14) cannot open file at line 30197 of [000197cc4e]
06-16 13:46:20.470 6992-7089/course.navigation E/SQLiteLog: (14) os_unix.c:30197: (2) open(/storage/emulated/0/NaviCourse/data/campus_map.db) -
06-16 13:46:20.470 6992-7089/course.navigation E/SQLiteDatabase: Failed to open database '/storage/emulated/0/NaviCourse/data/campus_map.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:804)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:789)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)
at course.navigation.GraphOverlay.drawMyMap(GraphOverlay.java:58)
at course.navigation.GraphOverlay$1.run(GraphOverlay.java:49)
at java.lang.Thread.run(Thread.java:841)
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注职坐标移动开发之Android频道!
您输入的评论内容中包含违禁敏感词
我知道了
请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式IT培训就业服务领导者 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号