开发者

Error with ContentValues in Android (Eclipse IDE)

开发者 https://www.devze.com 2023-04-05 02:21 出处:网络
I\'m trying to make a ContentValues in Android with the Eclipse IDE. This is my code: ContentVa开发者_JAVA百科lues cv = new ContentValues();

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

精彩评论

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