腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(3300)
视频
沙龙
3
回答
Android
:
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
sqlite
、
constraints
误差import
android
.view.View;import
android
.widget.EditText;import <em
浏览 5
提问于2013-12-31
得票数 4
回答已采纳
1
回答
SQLiteConstraintException
:
错误代码
19
:
约束
失败
--
Android
错误
android
、
android-contentprovider
当我尝试插入到我的数据库时,我得到了一个'
SQLiteConstraintException
:
错误代码
19
:
约束
失败
‘的
错误
。以下是插入操作的代码。db.insert现在返回-1,这会导致“插入
失败
”消息。false:true;以下是
Android
Manifest中的相关代码:
andro
浏览 1
提问于2011-10-09
得票数 16
回答已采纳
1
回答
android
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
sqlite
、
exception
、
constraints
我得到了
android
SQLiteConstraintException
: error代码
19
:
约束
失败
异常。我看到了这个话题中有很多问题,我读过很多,但仍然不知道我做错了什么。(database);} 更新:问题不在于此,我试图传递null,因为我只添加了这些字符串,并得到了
错误
浏览 2
提问于2011-09-29
得票数 0
2
回答
Android
-
SQLiteConstraintException
错误代码
19
:
约束
失败
android
、
sqlite
、
error-code
我知道你在这里有很多关于这个
错误
的问题,但我不能理解为什么Logcat上的所有字段似乎都正确填充了,但即使这样,
失败
还是会发生。position=governador picture=example idpolitician=1 city=Sao Paulo country=Brasil name=Alckmin
浏览 2
提问于2014-01-08
得票数 2
1
回答
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
sqlite
当我在我的SQLite数据库中执行插入操作时,我得到了异常mDbHelper.createUser("pablo","a","a","a","a");private static final String USER_TABLE_CREATE = "CREATE TABLE user ( email varchar, password varchar, fullName varchar, mobilePhone var
浏览 0
提问于2010-12-21
得票数 19
回答已采纳
2
回答
SQLiteConstraintException
:
错误代码
19
:
约束
失败
java
、
android
、
sqlite
、
insert
然而,当我尝试添加一个新标题时,我得到了以下
错误
:
浏览 7
提问于2011-05-20
得票数 1
2
回答
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
sqlite
我正在尝试将经度和经度坐标插入到一个SQLite表中,结果得到了
SQLiteConstraintException
: error code
19
: constraint failed。我在我的logcat中得到了
约束
错误
。08-25 14:39:06.934: E/SQLiteDatabase(681):
浏览 2
提问于2012-08-25
得票数 2
1
回答
获取导致
SQLiteConstraintException
的
约束
的名称
android
、
sqlite
如何获取导致
SQLiteConstraintException
的
约束
的名称。并且在异常中没有方法来获取原因。
浏览 0
提问于2013-05-30
得票数 1
回答已采纳
1
回答
无法删除包含外键的行
database
、
sqlite
、
foreign-keys
、
delete-row
MySqlHelper.TABLE_UPLOAD, MySqlHelper.COLUMN_ID_ARTICLE }
android
.database.sqlite.
SQLiteConstraintException
:
错误代码
19
:
约束
在
android
.database.sqlite.SQLiteStatement.
浏览 2
提问于2013-06-12
得票数 0
3
回答
android
.database.sqlite.
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
database
、
sqlite
以下是
错误代码
:09-27 11:56:01.435: WARN/System.err(10324): at
android
.database.sqlite.SQLiteStatement.native_execute(Na
浏览 0
提问于2011-09-27
得票数 2
回答已采纳
2
回答
android
.database.sqlite.
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
database
、
sql-insert
我创建了一个名为资源的表,但是当我在其中插入值时,会引发这个异常:error code
19
: constraint
浏览 1
提问于2011-11-14
得票数 15
回答已采纳
1
回答
愚蠢
错误
android
.database.sqlite.
SQLiteConstraintException
:
错误代码
19
:
约束
失败
android
、
database
、
sqlite
下面是
错误
:09-27 12:47:39.155: WARN/System.err(10899): at
android
.database.sqlite.SQLiteStatement.native_execute(Nativ
浏览 0
提问于2011-09-27
得票数 0
回答已采纳
1
回答
SQLiteConstraintException
:
错误代码
19
:设置铃声时
约束
失败
android
、
database
、
constraints
newUri); Log.d("Eroor", "catch exception");但我得到了
错误
artist_id=6 is_music=false _data=/sdcard/MyRingTones/myringtone.mp3 07-14 18:07:09.569: E/Database(7505):
android
.database.sqlite.
SQ
浏览 3
提问于2013-07-14
得票数 0
4
回答
sqlite
约束
失败
错误代码
android
、
sqlite
、
constraints
WHERE (SELECT album_fk FROM songs WHERE album_fk = OLD.id) IS NOTENDException:
android
.database.sqlite.
SQLiteConstraintException
: errorStack Trace :
android
.database.sqlite.SQLiteStatement.native_execute(Native M
浏览 1
提问于2010-07-30
得票数 4
回答已采纳
4
回答
插入
android
.database.sqlite.
sqliteconstraintexception
时出错
错误代码
19
约束
失败
android
、
android-intent
、
android-sqlite
、
android-spinner
、
sqliteopenhelper
插入时出现
错误
。02-18 11:44:34.500: E/SQLiteDatabase(20811): Error inserting ConsumerName=
android
.database.sqlite.SQLiteCursor801.0 _id=65324 Date=2013 -2-18 Previous=98 Current=899 02-18 11:44:34.500: E/SQLiteDatabase(20811):
android
.database.sqlite.
SQLiteConstraint
浏览 0
提问于2013-02-18
得票数 4
回答已采纳
2
回答
在
Android
中插入或忽略带有自动增量键的表
android
、
sqlite
、
insert
、
replace
但我一直收到
错误
(
错误代码
19
:
约束
失败
)。我认为这个问题可能是由‘整数主键AUTOINCREMENT’引起的。();stmt.clearBindings(); // error: 06-11 20:50:42.295: E/DB(12978):
android
.database.sqlite.
SQLiteConstraintException
: error code
浏览 2
提问于2012-06-11
得票数 5
回答已采纳
2
回答
android
.database.sqlite.
SQLiteConstraintException
:
错误代码
19
:插入多条记录时
约束
失败
android
当我第二次插入数据时,我得到了这个
错误
。当我第一次在数据库中插入数据时,它工作正常。但后来我的应用程序被强制关闭,或者添加了项目,但不显示在列表视图中。e_date=6/5/2013 cl_no=tre exe_flg=true l_no=65 l_type=dfdg 05-06 04:14:06.220: E/SQLiteDatabase(773):
android
.database.sqlite.
SQLiteConstraintException
: error code
19
: const
浏览 1
提问于2013-05-06
得票数 0
1
回答
Android
不工作
android
、
sqlite
db.execSQL(query); Log.i(TAG, "error in the update"); 表示SQLite程序已中止的异常。Update:仅在INSERT/UPDATE或abort/fail上添加以供参考,如果SQ
浏览 1
提问于2014-02-18
得票数 1
回答已采纳
5
回答
无法在SQLite中插入,
错误代码
:
19
android
、
sqlite
、
insert
ContentValues(); mDb.insert(table_LocalSettings, "", cv);
错误
插入单元= 0;
SqliteConstraintException
:
错误代码
19
约束
失败
.
浏览 4
提问于2010-08-05
得票数 9
回答已采纳
1
回答
没有共享首选项或db文件
android
、
database
、
preferences
、
shared
我正在使用acra进行
错误
报告,并且从日志中似乎也有访问文件的困难:数据库(11683):
android
.database.sqlite.
SQLiteConstraintException</e
浏览 6
提问于2011-10-06
得票数 1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券