this is my error in console :
11-29 19:06:50.295: E/AndroidRuntime(333): android.database.sqlite.SQLiteException: table usuarios has no column named email: ,
You can just Update version like this: private static final int VERSION = 4; OR make sure that you have create correct table.
You are missing a space in your CREATE TABLE
statement:
NOMBRE_CORREO + "TEXT NOT NULL);");
should be
NOMBRE_CORREO + " TEXT NOT NULL);");
As @joeabala has mentioned above, much time this problem is caused by syntax like you forgot the space or commas, but if you checked there is no problem with it but youstill get the problem, maybe you need to uninstall the app on the virtual device and restart it which may help you
You can just specify the version like this:
private static final int VERSION = 4;
Uninstall the app, because a version is installed in the phone that does not have this table and therefore can not find this table
or
to raise database version and it will update the database with the newly created tables.
Check if you have any syntax errors. If no syntax errors found just uninstall and reinstall the app. After which everything should work fine.
P.S. My thoughts: This uninstalling and reinstalling is really annoying. Developers spent so much time finding the bug but at the end the solution turns out to be uninstall and reinstall. This also happens if you add permissions(e.g. Internet Access permission) to your app. This database thing is second such thing i m finding. Android Team at Google should do something about this.