开发者

Error with ContentValues in Android (Eclipse IDE)

I'm trying to make a ContentValues in Android with the Eclipse IDE.

This is my code:

ContentVa开发者_JAVA百科lues cv = new ContentValues();
cv.put("name", "Cs Tech");

Eclipse returns this error in the second line:

Multiple markers at this line - Syntax error on tokens, delete these tokens - Syntax error on token(s), misplaced construct (s)

When I click the error picture (the cross on a red circle), It selects the dot (.)

Can anyone help me?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜