更改项目的包名称,停止了应用程序

时间:2015-08-04 12:54:01

标签: android android-studio packages renaming

我已经更改了项目的包名,但是当我尝试朗读它时会显示消息&#34;不幸的是App停止了#34;。我按照以下步骤更改了我的包名Android Studio Rename Package < / p>

我的logcat错误如下: 08-04 18:08:54.806 27626-27626 / com.Bubbles E / SQLiteLog:(14)无法打开[9491ba7d73]第30046行的文件 08-04 18:08:54.806 27626-27626 / com.Bubbles E / SQLiteLog:(14)os_unix.c:30046:(2)open(/data/data/com.confec/databases/confec.sqlite) - 08-04 18:08:54.807 27626-27626 / com.Bubbles E / SQLiteDatabase:无法打开数据库&#39; /data/data/com.confec/databases/confec.sqlite'。     android.database.sqlite.SQLiteCantOpenDatabaseException:未知错误(代码14):无法打开数据库             在android.database.sqlite.SQLiteConnection.nativeOpen(本机方法)             在android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)             在android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)             在android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)             在android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)             在android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)             在android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)             在android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)             在android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)             在android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)             at com.Bubbles.database.DataBaseHelper.checkDataBase(DataBaseHelper.java:95)             at com.Bubbles.database.DataBaseHelper.createDataBase(DataBaseHelper.java:58)             在com.Bubbles.MainActivity.onCreate(MainActivity.java:93)             在android.app.Activity.performCreate(Activity.java:5990)             在android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)             在android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)             在android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)             在android.app.ActivityThread.access $ 800(ActivityThread.java:151)             在android.app.ActivityThread $ H.handleMessage(ActivityThread.java:1303)             在android.os.Handler.dispatchMessage(Handler.java:102)             在android.os.Looper.loop(Looper.java:135)             在android.app.ActivityThread.main(ActivityThread.java:5257)             at java.lang.reflect.Method.invoke(Native Method)             在java.lang.reflect.Method.invoke(Method.java:372)             在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:903)             在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 08-04 18:08:54.809 27626-27626 / com.Bubbles D / AndroidRuntime:关闭VM 08-04 18:08:54.809 27626-27626 / com.Bubbles E / AndroidRuntime:FATAL EXCEPTION:main

我感谢任何帮助和提前感谢。 :)

0 个答案:

没有答案