开发者

in android nothing displayed

I am doing a application that has database coding and some classes. I put Log.e() after and before the setContentView(R.layout.main); in main activity but no log value printed in Logcat and no design applied for the main activity.

my logcat prints:

05-03 16:19:06.011: ERROR/PackageInstallationReceiver(2开发者_开发技巧89): Remove /data/local/tmp/com.sai.thread.apk Fail! 05-03 16:19:31.451: ERROR/SETTING_AUTO_BACKLIGHT(59): open: /sys/class/leds/lcd-backlight/auto failed, errno: 2


U may need to remove the application from device or emulator other wise delete the table rows from table by using

String sqlDeleteData="delete from "+TABLENAME+";"; SQLiteDatabase.execSQL(sqlDeleteData);


Your application could not be reinstalled on the device / emulator, try to delete it first manually via Preferences >> Applications >> Manage Applications.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜