tags:

views:

31

answers:

2

I am developing an Android application where I get the exception while writing to the database:

An exception occurred: android.database.sqlite.SQLiteException

But it doest say anything else. In general I find it very difficult to debug the exceptions. I am using Eclipse to develop the application. Please help me in solving this issue..

+2  A: 

You need to learn how to Debug in Eclipse and how to use the ADB and DDMS tools.

In order to get more details about an exception/force close you need to look for a view in Eclipse called Logcat(you will find in the DDMS perspective) there you will find a detailed traceback when/what and on what line is the issue.

For this you should read a complete article about Debugging in Android using Eclipse

alt text

Pentium10
A: 

Have a look at this question and answers, also Developer Android.

I reckon you first get your head around handling exceptions before tackling the SQLiteException.

Koekiebox